.gitconfig

changeset 789
2d470b528b53
parent 784
a97d39955d73
child 790
5ecabaf00ed2
equal deleted inserted replaced
788:f8da8d4ff16a 789:2d470b528b53
22 in = "!git remote update -p; git log --pretty=onelinecustom ..@{u}" 22 in = "!git remote update -p; git log --pretty=onelinecustom ..@{u}"
23 out = "!git log --pretty=onelinecustom @{u}.." 23 out = "!git log --pretty=onelinecustom @{u}.."
24 new = "!git log --pretty=onelinecustom $1@{1}..$1@{0}" 24 new = "!git log --pretty=onelinecustom $1@{1}..$1@{0}"
25 cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 echo git branch -d" 25 cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 echo git branch -d"
26 glog = log --graph --pretty=onelinecustom 26 glog = log --graph --pretty=onelinecustom
27 recent = !sh -c 'git for-each-ref --count=${1:-20} --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\" ${@:2}' - 27 recent = "!f() { git for-each-ref --count=20 --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\" ${1:-refs/heads} ${@:2}; }; f"
28 28
29 [branch] 29 [branch]
30 autosetuprebase = always 30 autosetuprebase = always
31 autosetupmerge = always 31 autosetupmerge = always
32 32

mercurial