-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
53 lines (45 loc) · 863 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
42
43
44
45
46
47
48
49
50
51
52
53
[color]
ui = auto
[grep]
lineNumber = true
[diff]
renames = true
[core]
editor = nvr -cc split --remote-wait +'set bufhidden=wipe'
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
features = side-by-side line-numbers decorations
whitespace-error-style = 22 reverse
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none
[ghq]
root = ~/.ghq
root = ~/go/src
[push]
default = current
[pull]
rebase = false
[user]
useConfigOnly = true
[init]
defaultBranch = main
[merge]
tool = nvimdiff
[mergetool]
keepBackup = false
[alias]
ignore = "!curl -L -s https://www.gitignore.io/api/$@"
st = "status"
sw = "switch"
swc = "switch -c"
co = "checkout"
[fetch]
prune = true
[rebase]
autosquash = true
[tag]
sort = version:refname