-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
68 lines (52 loc) · 1.24 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
56
57
58
59
60
61
62
63
64
65
66
67
68
[user]
name = Vu Nhat Chuong
email = [email protected]
[init]
defaultBranch = main
[safe]
directory = *
[core]
editor = nvim
pager = delta
ui = true
ignorecase = false
autocrlf = input
eol = lf
# excludesfile = ~/.gitignore
[remote]
pushDefault = origin
[branch]
autosetuprebase = always
# Show most recently changed branches first.
sort = -committerdate
[pull]
rebase = true
[rebase]
autoStash = true
[commit]
verbose = true
[diff]
colorMoved = default # Moved lines in a diff are colored differently
# renames = copies # Detect copies as well as renames.
[merge]
conflictstyle = diff3
tool = nvim
[mergetool]
prompt = false
[mergetool "nvim"]
cmd = nvim -c "DiffviewOpen"
[interactive]
diffFilter = delta --color-only
[delta]
true-color = always
features = line-numbers decorations
navigate = true # use n and N to move between diff sections
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = yellow ul
[credential]
helper = /sbin/git-credential-manager
credentialStore = secretservice
[credential "https://dev.azure.com"]
useHttpPath = true