-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
49 lines (49 loc) · 1.21 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
[core]
autocrlf = false
quotepath = false
ignorecase = false
pager = delta
excludesfile = ~/dotfiles/.gitignore_global
attributesfile = ~/dotfiles/.gitattributes
[push]
default = simple
[pull]
rebase = merges
[merge]
tool = vimdiff
[mergetool]
prompt = true
[mergetool "vimdiff"]
cmd = nvim -d $LOCAL $REMOTE $MERGE -c '$wincmd w' -c 'wincmd J'
[rerere]
enabled = true
[diff]
tool = vimdiff
algorithm = histogram
[difftool]
prompt = false
[help]
autocorrect = -1
[color]
ui = auto
status = auto
diff = auto
branch = auto
interactive = auto
grep = auto
[alias]
alias = !git config --list | grep 'alias\\.' | sed 's/alias\\.\\([^=]*\\)=\\(.*\\)/\\1\\\t => \\2/' | sort
staged = diff --cached
delete-merged-branch = !git branch --merged | grep -v -E '\\*|develop|master|main' | xargs git branch -d; git fetch --prune
[ghq]
root = ~/src
[delta]
features = side-by-side line-numbers decorations
whitespace-error-style = 22 reverse
navigate = true
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none
[interactive]
diffFilter = delta --color-only