.gitconfig

changeset 492
e5d6f6523162
parent 491
22a04cc90ff9
child 494
d6d298c93437
equal deleted inserted replaced
491:22a04cc90ff9 492:e5d6f6523162
28 in = "!git remote update -p; git log --pretty=onelinecustom ..@{u}" 28 in = "!git remote update -p; git log --pretty=onelinecustom ..@{u}"
29 out = "!git log --pretty=onelinecustom @{u}.." 29 out = "!git log --pretty=onelinecustom @{u}.."
30 new = "!git log --pretty=onelinecustom $1@{1}..$1@{0}" 30 new = "!git log --pretty=onelinecustom $1@{1}..$1@{0}"
31 cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 echo git branch -d" 31 cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 echo git branch -d"
32 glog = log --graph --pretty=onelinecustom 32 glog = log --graph --pretty=onelinecustom
33 recent = !sh -c 'git for-each-ref --count=${1:-20} --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\"' "$@" 33 recent = !sh -c 'git for-each-ref --count=${1:-20} --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\" ${@:2}' -
34 34
35 [pretty] 35 [pretty]
36 onelinecustom = tformat:%C(magenta)%h%Creset -%C(yellow)%d%Creset %s %C(green)(%cr)%Creset %C(cyan)<%an>%Creset 36 onelinecustom = tformat:%C(magenta)%h%Creset -%C(yellow)%d%Creset %s %C(green)(%cr)%Creset %C(cyan)<%an>%Creset
37 37
38 [branch] 38 [branch]

mercurial