-
Notifications
You must be signed in to change notification settings - Fork 1
/
gitconfig
100 lines (93 loc) · 2.42 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
89
90
91
92
93
94
95
96
97
98
99
100
[alias]
cat=-p cat-file -p
branche=branch
branch=branch
co=checkout
ri = rebase -i
st=status
undo=reset HEAD~1
tempo=commit -a --no-verify --no-gpg-sign -m tempo
master=checkout master --
willpush=log origin/master..master
squash=commit -s --amend -C HEAD
amend=commit -s --amend
post-review=send-email --no-chain-reply-to --suppress-cc all --suppress-from --no-signed-off-by-cc --annotate --compose --to [email protected] -C -C -M
lg=log --graph --decorate --pretty=format:'%C(brightred)%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
workdir = !sh /usr/share/doc/git/contrib/workdir/git-new-workdir
pushd = push -u origin HEAD
fixup = "!git log -n 10 --pretty=format:'%h %s' --no-merges | fzf | cut -c -7 | xargs -o git commit --fixup"
scrub = reset --hard @{upstream}
pushy = push --force-with-lease
[pager]
color = true
diff = diff-so-fancy | less --tabs=4 -RFX
show = diff-so-fancy | less --tabs=4 -RFX
[diff]
color = auto
algorithm = histogram
colorMoved = dimmed-zebra
[diff "color"]
meta = green
frag = yellow
old = magenta
new = cyan
whitespace = red reverse
[color "diff-highlight"]
oldNormal = red
oldHighlight = 9 ul 52
newNormal = green
newHighlight = 10 ul 22
[tig "color"]
cursor = default yellow bold
[user]
name = Aurelien LAJOIE
email = <[email protected]>
signingkey = 16FB089E8296ED1E
[color]
branch = true
status = true
grep = true
ui = true
[color "status"]
header = bold blue
added = green
changed = bold red
untracked = yellow
[color "diff"]
meta = 11
frag = yellow dim
old = red bold
new = green bold
func = brightyellow
commit = yellow bold
whitespace = red reverse
[merge]
verbosity = 1
conflictstyle = diff3
stat = true
tool = kdiff3
[grep]
lineNumber = true
color = always
[rerere]
enabled = true
[credential]
helper = /usr/lib/git-core/git-credential-libsecret
[sendemail]
smtpEncryption = tls
smtpServer = ssl.polytechnique.org
smtpUser = aurelien.lajoie.2000
smtpServerPort = 587
[core]
pager = less -x1,5
[commit]
gpgsign = false
[push]
default = current
autoSetupRemote = true
[branch]
autosetuprebase = always
[diff-so-fancy]
stripLeadingSymbols = false
[url "https://github"]
insteadOf = git://github