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] |