.gitconfig

changeset 335
fe632d892513
parent 310
6dd92510e2bd
child 336
a921d84589cf
equal deleted inserted replaced
334:0c53623b7dee 335:fe632d892513
26 new = "!git log --pretty=onelinecustom $1@{1}..$1@{0}" 26 new = "!git log --pretty=onelinecustom $1@{1}..$1@{0}"
27 cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 echo git branch -d" 27 cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 echo git branch -d"
28 ctags = "!~/.git_helpers/ctags" 28 ctags = "!~/.git_helpers/ctags"
29 glog = log --graph --pretty=onelinecustom 29 glog = log --graph --pretty=onelinecustom
30 recent = !sh -c 'git for-each-ref --count=${1:-20} --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\"' "$@" 30 recent = !sh -c 'git for-each-ref --count=${1:-20} --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\"' "$@"
31 bre = !vim $(git diff --name-only @{u}..)
32 brer = !vim --remote $(git diff --name-only @{u}..)
31 33
32 [pretty] 34 [pretty]
33 onelinecustom = tformat:%C(magenta)%h%Creset -%C(yellow)%d%Creset %s %C(green)(%cr)%Creset %C(cyan)<%an>%Creset 35 onelinecustom = tformat:%C(magenta)%h%Creset -%C(yellow)%d%Creset %s %C(green)(%cr)%Creset %C(cyan)<%an>%Creset
34 36
35 [branch] 37 [branch]

mercurial