-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
95 lines (74 loc) · 1.82 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[include]
path = "~/.gitconfig.local"
# https://git-scm.com/docs/git-config
[user]
name = Vu Nhat Chuong
email = ronnyvu321@gmail.com
[init]
defaultBranch = main
[safe]
directory = *
[core]
editor = nvim
pager = delta
ui = true
ignorecase = false
autocrlf = input
eol = lf
# Force terminal ask pass
askPass = ""
# excludesfile = ~/.gitignore
[remote]
pushDefault = origin
autosetupremote = true
[branch]
autosetuprebase = always
# Show most recently changed branches first.
sort = -committerdate
[pull]
rebase = true
[rebase]
autoStash = true
[status]
short = true
branch = true
relativePaths = false
showStash = true
showUntrackedFiles = all
[commit]
verbose = true
[diff]
prompt = false
colorMoved = default # Moved lines in a diff are colored differently
# renames = copies # Detect copies as well as renames.
[worktree]
guessRemote = true
[merge]
conflictstyle = zdiff3
tool = nvim
[mergetool]
prompt = false
keepBackup = false
hideResolved = true
[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
[alias]
blamefull = blame -w -C -C -C
diffw = diff --color-words
# Shows local branches which got their remote branch deleted
branchgone = "!git fetch &>/dev/null && git branch -vv | cut -c 3- | grep gone] | awk '{print $1}'"
[credential]
helper = /sbin/git-credential-manager
credentialStore = secretservice
[credential]
helper = "store"