-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
48 lines (46 loc) · 1.15 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
# This is Git's per-user configuration file.
[user]
# Please adapt and uncomment the following lines:
name = Asa Jay
email = [email protected]
[pull]
rebase = false
[core]
editor = nvim
pager = delta --max-line-length 5120 --max-line-distance 0.8
excludesfile = ~/.gitignore
# [includeIf "gitdir:github/"]
# path = .gitconfig-github
[includeIf "gitdir:bmwcode/"]
path = .gitconfig-work
[diff]
tool = kitty
guitool = kitty.gui
[difftool]
prompt = false
trustExitCode = true
[difftool "kitty"]
cmd = kitty +kitten diff $LOCAL $REMOTE
[difftool "kitty.gui"]
cmd = kitty kitty +kitten diff $LOCAL $REMOTE
[init]
defaultBranch = main
[interactive]
diffFilter = delta --color-only --features=interactive
# diffFilter = diff-so-fancy --patch
[delta]
features = decorations
side-by-side = false
light = true
[delta "interactive"]
keep-plus-minus-markers = false
[delta "decorations"]
commit-decoration-style = blue ol
commit-style = raw
file-style = omit
hunk-header-decoration-style = blue box
hunk-header-file-style = red
hunk-header-line-number-style = "#067a00"
hunk-header-style = file line-number syntax
[credential]
helper = cache --timeout=14400