-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
55 lines (46 loc) · 989 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
54
55
[user]
email =
name =
[core]
editor = nvim
excludesfile = ~/.gitignore_global
autocrlf = input
pager = diff-so-fancy | less --tabs=4 -RFX
commentchar = |
[color]
ui = true
[alias]
last = log -1 HEAD
unstage = reset HEAD --
untrack = rm --cached
track = add -N
stage = add
visual = !gitk
sdiff = !git diff && git submodule foreach 'git diff'
spush = push --recurse-submodules=on-demand
supdate = submodule update --remote --merge
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
plain = blue
meta = cyan bold
frag = magenta bold
commit = magenta
old = red bold
new = green bold
whitespace = red reverse
[diff]
tool = vimdiff
[merge]
tool = vimdiff
[mergetool "vimdiff"]
cmd = nvim -d $LOCAL $REMOTE $MERGED
[pull]
rebase = true
[help]
autocorrect = 1
[status]
submodulesummary = 1