-
Notifications
You must be signed in to change notification settings - Fork 1
/
gitconfig
64 lines (64 loc) · 1.22 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
[include]
path = .gitconfig.secret
[core]
excludesfile = ~/.gitignore_global
pager = less -FX
[interactive]
diffFilter = delta --color-only
[push]
default = current
autoSetupRemote = true
[delta]
side-by-side = true
navigate = true
line-numbers = true
[pager]
branch =
diff = delta
show = delta
[mergetool]
keepBackup = false
hideResolved = true
[merge]
tool = meld
conflictStyle = zdiff3
[diff]
tool = vimdiff
colorMoved = default
algorithm = histogram
[difftool]
prompt = false
[commit]
verbose = true
[alias]
fixup = !COMMIT=`git log --oneline|fzf|cut -d' ' -f1` && git commit --fixup=${COMMIT}
squash = !COMMIT=`git log --oneline|fzf|cut -d' ' -f1` && git commit --squash=${COMMIT}
wip = !git add -A && git commit --no-verify -m 'WIP'
unwip = reset HEAD~1
root = rev-parse --show-toplevel
[rebase]
autoSquash = true
autoStash = true
updateRefs = true
[pull]
rebase = true
[rerere]
enabled = true
autoUpdate = true
[submodule]
recurse = true
[status]
submoduleSummary = true
[branch]
sort = -committerdate
[init]
defaultBranch = main
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[clean]
requireForce = false
[fetch]
prune = true