forked from psachin/configs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
64 lines (62 loc) · 1.29 KB
/
.gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[include]
; user.name & user.email
path = ~/.gitconfig.local
[core]
abbrev = 12
editor = emacsclient -nw
excludesfile = ~/.gitignore_global
; Don't trust file modes
filemode = false
deltaBaseCacheLimit = 1G
ignorecase = true
[alias]
a = add
unstage = reset HEAD
u = add -u
co = checkout
br = branch
ci = commit
st = status
s = status -sb
last = log --pretty=format:\"%h - %an, %ar : %s\"
logg = log -p -l 2
logs = log --stat
df = diff
dfc = diff --cached
lg = log -p
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
ls = ls-files
ign = ls-files -o -i --exclude-standard
[color]
ui = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[color "diff"]
whitespace = red reverse
[pretty]
fixes = Fixes: %h (\"%s\")
[commit]
template = ~/.gitmessage.txt
[http]
postBuffer = 524288000
; proxy = http://10.101.11.108:3128
[push]
default = matching
[help]
autocorrect = 1
[log]
date = relative
[rerere]
enabled = true