/
.gitconfig
41 lines (33 loc) · 916 Bytes
/
.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
[include]
# This file is for user-specific settings (name, email, signingkey etc.)
path = ~/.dotfiles/.gitconfig.local
[init]
defaultBranch = main
[instaweb]
# Python's http server is installed by default on macOS, unlike lighttpd
# (git's default httpd)
httpd = python
[rerere]
enabled = true
# Use delta for diff
# https://github.com/dandavison/delta#configuration
[pager]
diff = delta
log = delta
reflog = delta
show = delta
[interactive]
diffFilter = delta --color-only --features=interactive
[delta]
features = decorations
syntax-theme = Monokai Extended
[delta "interactive"]
keep-plus-minus-markers = false
[delta "decorations"]
commit-decoration-style = blue ol
commit-style = raw
file-style = omit
hunk-header-decoration-style = blue box
hunk-header-file-style = red
hunk-header-line-number-style = "#067a00"
hunk-header-style = file line-number syntax