.gitconfig

changeset 792
2693c3ccb0da
parent 791
5b1ae7f6ee1e
child 843
7968d9507ddb
equal deleted inserted replaced
791:5b1ae7f6ee1e 792:2693c3ccb0da
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]
61 autoupdate = true 64 autoupdate = true
62 65
63 [transfer] 66 [transfer]
64 fsckobjects = true 67 fsckobjects = true
65 68
66 [ui]
67 color = true
68
69 # include.path is available in git 1.7.10 and later 69 # include.path is available in git 1.7.10 and later
70 [include] 70 [include]
71 path = ~/.gitconfig.local 71 path = ~/.gitconfig.local
72 72
73 # vim: noet:sw=8 73 # vim: noet:sw=8

mercurial