-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
37 lines (31 loc) · 902 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
[user]
name = brian-penguin
email = [email protected]
[core]
excludesfile = ~/.gitignore
pager = delta
[init]
defaultBranch = main
; using my template saves time!
; Verbose shows diffs in commits (fish does this automatically but is eq to git add -vv
[commit]
template = ~/.gitcommitmsg.txt
[pull]
rebase = true
;
; show the original change incase there are multiple changes to the original commit
[merge]
conflictstyle = zdiff3
;
; Don't re rebase multiple changes in a single rebase
; https://git-scm.com/book/en/v2/Git-Tools-Rerere
[rerere]
enabled = true
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true # use n and N to move between diff sections
light = true # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
line-numbers = true
[diff]
colorMoved = default