38 new = "!git log --pretty=onelinecustom $1@{1}..$1@{0}" |
20 new = "!git log --pretty=onelinecustom $1@{1}..$1@{0}" |
39 cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 echo git branch -d" |
21 cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 echo git branch -d" |
40 glog = log --graph --pretty=onelinecustom |
22 glog = log --graph --pretty=onelinecustom |
41 recent = !sh -c 'git for-each-ref --count=${1:-20} --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\" ${@:2}' - |
23 recent = !sh -c 'git for-each-ref --count=${1:-20} --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\" ${@:2}' - |
42 |
24 |
43 [pretty] |
|
44 onelinecustom = tformat:%C(magenta)%h%Creset %G? -%C(yellow)%d%Creset %s %C(green)(%cr)%Creset %C(cyan)<%an>%Creset |
|
45 |
|
46 [branch] |
25 [branch] |
47 autosetuprebase = always |
26 autosetuprebase = always |
48 autosetupmerge = always |
27 autosetupmerge = always |
|
28 |
|
29 [commit] |
|
30 verbose = true |
|
31 gpgsign = true |
|
32 |
|
33 [core] |
|
34 pager = LESS='FSRXi' less |
|
35 |
|
36 [diff] |
|
37 compactionheuristic = true |
|
38 |
|
39 [fsck] |
|
40 badTimezone = ignore |
|
41 |
|
42 [gpg] |
|
43 program = "gpg2" |
|
44 |
|
45 [merge] |
|
46 tool = vimdiff2 |
|
47 |
|
48 [pretty] |
|
49 onelinecustom = tformat:%C(magenta)%h%Creset %G? -%C(yellow)%d%Creset %s %C(green)(%cr)%Creset %C(cyan)<%an>%Creset |
49 |
50 |
50 [push] |
51 [push] |
51 default = current |
52 default = current |
52 |
53 |
53 [rebase] |
54 [rebase] |
54 stat = true |
55 stat = true |
55 |
56 |
56 [commit] |
57 [transfer] |
57 verbose = true |
58 fsckobjects = true |
58 gpgsign = true |
|
59 |
59 |
60 [gpg] |
60 [ui] |
61 program = "gpg2" |
61 color = true |
62 |
62 |
63 # include.path is available in git 1.7.10 and later |
63 # include.path is available in git 1.7.10 and later |
64 [include] |
64 [include] |
65 path = ~/.gitconfig.local |
65 path = ~/.gitconfig.local |
66 |
66 |