-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_gitconfig.tmpl
40 lines (31 loc) · 942 Bytes
/
dot_gitconfig.tmpl
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
[user]
name = Leif Walsh
email = [email protected]
[core]
pager = delta
whitespace = trailing-space,space-before-tab,cr-at-eol
[delta]
side-by-side = true
navigate = true # use n and N to move between diff sections
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
[interactive]
diffFilter = delta --color-only
[add.interactive]
useBuiltin = false
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
algorithm = patience
[color]
branch = auto
diff = auto
interactive = auto
status = auto
ui = auto
pager = true
[push]
default = matching
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
empty-branch = !sh -c 'git symbolic-ref HEAD refs/heads/$1 && rm .git/index && git clean -fdx' -