-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
88 lines (75 loc) · 2.24 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[user]
name = Allan W. Nielsen
email = a@awn.dk
[core]
# gitProxy = git-http-proxy
# gitProxy = "~/bin/git-http-proxy" for repo.or.cz
# gitProxy = "~/bin/git-http-proxy" for source.winehq.org
[color]
diff = auto
status = auto
branch = auto
interactive = auto
[diff]
renames = copy
[branch]
autosetupmerge = true
[clean]
requireForce = true
[gc]
auto = 0
autopacklimit = 0
packrefs = false
[apply]
whitespace = strip
[mergetool "twoway"]
cmd = cp $LOCAL $MERGED && /usr/bin/vimdiff $MERGED $REMOTE
[merge]
tool = twoway
[difftool.latex]
cmd = git-latexdiff "$LOCAL" "$REMOTE"
[alias]
ai = add -i
di = diff -p --stat
cdi = diff -p --stat --cached
hdi = diff HEAD -p --stat
edi = !GIT_EXTERNAL_DIFF=~/scripts/diff_arg_wrap.sh git --no-pager diff
ds = diff --stat
cds = diff --cached --stat
hds = diff HEAD --stat
ci = commit
co = checkout
br = branch
ru = remote update
st = !git --no-pager status
stat = status
shs = show -p --stat
sh = show -p --stat --pretty=fuller
l = log
lo = log --pretty=oneline
ami3 = am -i -3 --signoff
am3 = am -3 --signoff
fpstd = format-patch --signoff --stdout
pr = pull --rebase
wc = whatchanged -p --stat
wcy = whatchanged -p --stat --since='yesterday'
wcw = whatchanged -p --stat --since='1 weeks ago'
wcf = whatchanged -p --stat --pretty=fuller
wcyf = whatchanged -p --stat --pretty=fuller --since='yesterday'
wcwf = whatchanged -p --stat --pretty=fuller --since='1 weeks ago'
wcs = whatchanged --stat
wcys = whatchanged --stat --since='yesterday'
wcws = whatchanged --stat --since='1 weeks ago'
chp = cherry-pick
chpx = cherry-pick -x
fps = format-patch -s
sb = show-branch
mail = send-email --compose
ldiff = difftool -t latex
[core]
excludesfile = /home/awn/.gitignore
[sendemail]
smtpserver = smtp.googlemail.com
smtpserverport = 587
smtpencryption = tls
smtpuser = a@awn.dk