.gitconfig

changeset 496
e398f840bf3c
parent 494
d6d298c93437
child 497
5df02ebeedf9
equal deleted inserted replaced
495:31fc84fa156c 496:e398f840bf3c
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 -%C(yellow)%d%Creset %s %C(green)(%cr)%Creset %C(cyan)<%an>%Creset 36 onelinecustom = tformat:%C(magenta)%h%Creset %G?%C(yellow)%d%Creset %s (%C(green)%cr%Creset by %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