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 = "!f() { git for-each-ref --count=20 --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\" ${1:-refs/heads} ${@:2}; }; f" |
27 recent = "!f() { git for-each-ref --count=20 --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\" ${1:-refs/heads} ${@:2}; }; f" |
28 |
28 |
|
29 [pretty] |
|
30 onelinecustom = tformat:%C(magenta)%h%Creset %G? -%C(yellow)%d%Creset %s %C(green)(%cr)%Creset %C(cyan)<%an>%Creset |
|
31 |
|
32 [ui] |
|
33 color = true |
|
34 |
|
35 [core] |
|
36 pager = LESS=FSRXi less |
|
37 |
|
38 [gpg] |
|
39 program = "gpg2" |
|
40 |
|
41 [merge] |
|
42 tool = vimdiff2 |
|
43 |
29 [branch] |
44 [branch] |
30 autosetuprebase = always |
45 autosetuprebase = always |
31 autosetupmerge = always |
46 autosetupmerge = always |
32 |
47 |
33 [commit] |
48 [commit] |
34 verbose = true |
49 verbose = true |
35 gpgsign = true |
50 gpgsign = true |
36 |
51 |
37 [core] |
|
38 pager = LESS='FSRXi' less |
|
39 |
|
40 [diff] |
52 [diff] |
41 compactionheuristic = true |
53 compactionheuristic = true |
42 |
|
43 [gpg] |
|
44 program = "gpg2" |
|
45 |
|
46 [merge] |
|
47 tool = vimdiff2 |
|
48 |
|
49 [pretty] |
|
50 onelinecustom = tformat:%C(magenta)%h%Creset %G? -%C(yellow)%d%Creset %s %C(green)(%cr)%Creset %C(cyan)<%an>%Creset |
|
51 |
54 |
52 [push] |
55 [push] |
53 default = current |
56 default = current |
54 |
57 |
55 [rebase] |
58 [rebase] |