-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgitconfig
46 lines (45 loc) · 1.08 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
[alias]
amend = commit -a --amend --no-edit
[color]
ui = true
[color "diff-highlight"]
oldNormal = red
newNormal = green
oldHighlight = red 224
newHighlight = green 194
[diff]
algorithm = histogram
tool = vimdiff
[format]
coverLetter = auto
thread = shallow
[init]
defaultBranch = main
[interactive]
diffFilter = "if command -v diff-highlight >/dev/null 2>&1; then diff-highlight; else cat; fi"
[merge]
tool = vimdiff
[pager]
log = "if command -v diff-highlight >/dev/null 2>&1; then diff-highlight | \"${PAGER:-less}\"; else \"${PAGER:-less}\"; fi"
show = "if command -v diff-highlight >/dev/null 2>&1; then diff-highlight | \"${PAGER:-less}\"; else \"${PAGER:-less}\"; fi"
diff = "if command -v diff-highlight >/dev/null 2>&1; then diff-highlight | \"${PAGER:-less}\"; else \"${PAGER:-less}\"; fi"
[pull]
ff = only
[push]
default = simple
autoSetupRemote = true
[rebase]
autoSquash = true
[refer]
tagPattern = v[0-9]*
[sendemail]
cccover = true
suppresscc = all
[stash]
showPatch = true
[tag]
sort = version:refname
[versionsort]
suffix = -rc
[include]
path = ~/.gitconfig.local