.gitconfig

changeset 497
5df02ebeedf9
parent 496
e398f840bf3c
child 506
2a6899f40b2e
equal deleted inserted replaced
496:e398f840bf3c 497:5df02ebeedf9
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)\" ${@:2}' - 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 %G?%C(yellow)%d%Creset %s (%C(green)%cr%Creset by %C(cyan)%an%Creset) 36 onelinecustom = tformat:%C(magenta)%h%Creset %G? -%C(yellow)%d%Creset %s %C(green)(%cr)%Creset %C(cyan)<%an>%Creset
37 37
38 [branch] 38 [branch]
39 autosetuprebase = always 39 autosetuprebase = always
40 autosetupmerge = always 40 autosetupmerge = always
41 41

mercurial