26 update = "!git remote update -p && git merge --ff-only --stat @{u}" |
26 update = "!git remote update -p && git merge --ff-only --stat @{u}" |
27 in = "!git remote update -p; git log --pretty=onelinecustom ..@{u}" |
27 in = "!git remote update -p; git log --pretty=onelinecustom ..@{u}" |
28 out = "!git log --pretty=onelinecustom @{u}.." |
28 out = "!git log --pretty=onelinecustom @{u}.." |
29 new = "!git log --pretty=onelinecustom $1@{1}..$1@{0}" |
29 new = "!git log --pretty=onelinecustom $1@{1}..$1@{0}" |
30 cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 echo git branch -d" |
30 cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 echo git branch -d" |
31 ctags = "!~/.git_helpers/ctags" |
|
32 glog = log --graph --pretty=onelinecustom |
31 glog = log --graph --pretty=onelinecustom |
33 recent = !sh -c 'git for-each-ref --count=${1:-20} --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\"' "$@" |
32 recent = !sh -c 'git for-each-ref --count=${1:-20} --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\"' "$@" |
34 |
33 |
35 [pretty] |
34 [pretty] |
36 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 |