-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
55 lines (46 loc) · 1 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
47
48
49
50
51
52
53
54
55
[init]
defaultBranch = main
[branch]
sort = -committerdate
[alias]
diffne = "diff --no-ext-diff"
showe = "show --ext-diff"
[user]
name = Xiaochao Dong (@damnever)
email = [email protected]
signingkey = 5E83FCFBD42A0CA7
[core]
editor = nvim
autocrlf = input
whitespace = trailing-space,cr-at-eol # indent-with-non-tab
[diff]
external = difft
tool = difftastic
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[pager]
difftool = true
[diff "bin"]
# Use `hexdump` to diff binary files
textconv = hexdump -v -C
[apply]
# Detect whitespace errors when applying a patch
whitespace = fix
[pull]
rebase = true
[url "[email protected]:"]
insteadOf = https://github.com/
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[merge]
tool = nvimdiff
conflictstyle = zdiff3
[rerere]
enabled = true
[mergetool]
keepBackup = false