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" |
31 ctags = "!~/.git_helpers/ctags" |
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)\"' "$@" |
33 recent = !sh -c 'git for-each-ref --count=${1:-20} --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\"' "$@" |
34 bre = !$EDITOR $@ $(git diff --name-only @{u}..) |
|
35 |
34 |
36 [pretty] |
35 [pretty] |
37 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 -%C(yellow)%d%Creset %s %C(green)(%cr)%Creset %C(cyan)<%an>%Creset |
38 |
37 |
39 [branch] |
38 [branch] |