-
Notifications
You must be signed in to change notification settings - Fork 4
/
gitconfig
74 lines (74 loc) · 1.79 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
[user]
name = rockerBOO
email = rockerboo@gmail.com
signingkey = 0D4EAF00DCABC97B
[github]
user = rockerboo
[branch]
autosetuprebase = always
[core]
excludesfile = ~/.gitignore
editor = nvim
autocrlf = input
pager = delta
[color]
branch = auto
diff = auto
status = auto
[diff]
# https://matklad.github.io/2023/12/31/git-things.html#Git-Things
colormoved = "default"
colormovedws = "allow-indentation-change"
tool = nvimdiff
colorMoved = default
[difftool "nvimdiff"]
cmd = "nvim -d -u ~/.config/nvim/init.lua \"$LOCAL\" \"$REMOTE\""
[help]
autocorrect = 1
[alias]
switch = !legit switch \"$@\"
branches = !legit branches
sprout = !legit sprout \"$@\"
unpublish = !legit unpublish \"$@\"
harvest = !legit harvest \"$@\"
sync = !legit sync \"$@\"
publish = !legit publish \"$@\"
graft = !legit graft \"$@\"
[merge]
tool = nvimdiff
[mergetool]
prompt = true
conflictstyle = diff3
[mergetool "nvimdiff"]
cmd = nvim -d $BASE $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
[delta]
line-numbers = true
syntax-theme = Dracula
features = side-by-side line-numbers decorations collared-trogon zebra-dark
hyperlinks = true
hyperlinks-file-link-format = "file-line://{path}:{line}"
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none
hunk-header-decoration-style = cyan box ul
[delta "line-numbers"]
line-numbers-left-style = cyan
line-numbers-right-style = cyan
line-numbers-minus-style = 124
line-numbers-plus-style = 28
[push]
default = tracking
[interactive]
diffFilter = delta --color-only
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[init]
defaultBranch = main
[commit]
gpgsign = true
[credential]
helper = store