-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitconfig
58 lines (58 loc) · 1.57 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
# vim: set ft=ini:
[mergetool]
keepBackup = false
[mergetool "vimdiff-merge"]
cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
[mergetool "vimdiff"]
cmd = nvim -d $LOCAL $REMOTE
[merge]
tool = vimdiff-merge
[diff]
tool = vimdiff
submodule = diff
colorMoved = default
[alias]
nicelog = log --graph --decorate=full --all --oneline
do-recursive = "!sh -c \"git ${*} ||:; git submodule foreach --recursive 'git ${*} ||:'\" -"
find-dangling = "!sh -c 'git fsck --lost-found | grep \"^dangling commit\" | sed \"s/^dangling commit //g\" | xargs git show -s --oneline'"
[push]
default = current
[gui]
fontui = -family \"DejaVu Sans\" -size 9 -weight normal -slant roman -underline 0 -overstrike 0
fontdiff = -family \"DejaVu Sans Mono\" -size 9 -weight normal -slant roman -underline 0 -overstrike 0
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[color]
ui = auto
[credential]
helper = libsecret
[status]
submoduleSummary = true
[pull]
rebase = true
[init]
defaultBranch = main
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
light = false
side-by-side = true
line-numbers = true
true-color = always
[core]
excludesfile = ~/.gitignore_global
pager = delta
[protocol "file"]
allow = always
[include]
path = ~/.gitconfig.local
[includeIf "gitdir:~/.dotfiles"]
path = ~/.dotfiles/.gitconfig.github
[includeIf "gitdir:~/workspace/*"]
path = ~/.dotfiles/.gitconfig.github
[includeIf "gitdir:~/go/*"]
path = ~/.dotfiles/.gitconfig.github