-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig.symlink
42 lines (42 loc) · 929 Bytes
/
gitconfig.symlink
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
# Local/private config goes in the include
[include]
path = ~/.gitconfig.local
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[difftool]
prompt = true
# Be able to abort all diffs with `:cq` or `:cquit`
trustExitCode = true
[diff]
tool = nvimdiff
[difftool "nvimdiff"]
cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""
[init]
defaultBranch = main
[pager]
diff = delta
log = delta
reflog = delta
show = delta
[delta]
line-numbers = true
syntax-theme = 1337
side-by-side = true
file-modified-label = modified:
[interactive]
diffFilter = delta --color-only
[credential]
helper = cache
[pull]
rebase = true
[alias]
clone-for-worktrees = "!git-clone-for-worktree"
nb = "!git-new-branch"
wtf = "!git-wtf"
[blame]
ignoreRevsFile = .git-blame-ignore-revs
[fetch]
prune = true