Repository navigation
Expand file tree
/
Copy pathdot_gitconfig.tmpl
More file actions
99 lines (99 loc) · 2.58 KB
/
Copy pathdot_gitconfig.tmpl
File metadata and controls
99 lines (99 loc) · 2.58 KB
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[user]
name = {{ .name }}
email = {{ .email }}
signingkey = {{ .signingkey }}
[credential "https://github.com"]
helper =
helper = !/opt/homebrew/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/opt/homebrew/bin/gh auth git-credential
[core]
pager = delta
hooksPath = ~/.config/git/hooks
[interactive]
diffFilter = delta --color-only
[init]
defaultBranch = main
[push]
autoSetupRemote = true
followTags = true
[pull]
rebase = true
[fetch]
prune = true
[rebase]
autoStash = true
updateRefs = true
[branch]
sort = -committerdate
[rerere]
enabled = true
[diff]
algorithm = histogram
mnemonicPrefix = true
colorMoved = default
[merge]
conflictStyle = zdiff3
[gpg]
format = ssh
[gpg "ssh"]
allowedSignersFile = ~/.ssh/allowed_signers
[commit]
gpgsign = true
verbose = true
[tag]
gpgsign = true
sort = version:refname
[help]
autocorrect = prompt
[column]
ui = auto
# Colors from the gruber-darker-renaissance palette. git uses these itself
# (status, --no-pager); delta below has its own set.
[color "diff"]
meta = "#efd45b"
frag = "#9e95c7"
func = "#8c8c8c"
commit = "#efd45b"
old = "#d64c4b"
new = "#8ac568"
whitespace = "#d64c4b" reverse
[color "status"]
added = "#8ac568"
changed = "#d64c4b"
untracked = "#cc8c3c"
branch = "#efd45b"
[delta]
navigate = true
tabs = 4
# bat's ansi theme: syntax colors come from the terminal palette, like bat/config
syntax-theme = ansi
# Line backgrounds and inline emphasis mirror the nvim theme's DiffAdd,
# DiffDelete and Neogit inline groups
minus-style = syntax "#2a1516"
minus-emph-style = "#ebebe6" "#732727"
plus-style = syntax "#1b2e12"
plus-emph-style = "#ebebe6" "#476834"
commit-style = "#efd45b"
file-style = "#efd45b"
file-decoration-style = "#3a3a3a" ul
hunk-header-style = file line-number syntax
hunk-header-file-style = "#9e95c7"
hunk-header-line-number-style = "#9e95c7"
hunk-header-decoration-style = omit
# Line numbers in the gutter: unchanged lines gray, removed red, added green,
# the separators the same dark gray as nvim's WinSeparator
line-numbers = true
line-numbers-zero-style = "#555555"
line-numbers-minus-style = "#d64c4b"
line-numbers-plus-style = "#8ac568"
# One column: the new-file number; removed lines leave it blank
line-numbers-left-format = ""
line-numbers-right-format = "{np:>4} │"
line-numbers-left-style = "#3a3a3a"
line-numbers-right-style = "#3a3a3a"
whitespace-error-style = "#d64c4b" reverse
blame-palette = "#000000" "#101010" "#181818" "#1e1e1e"
merge-conflict-ours-diff-header-style = "#efd45b"
merge-conflict-theirs-diff-header-style = "#efd45b"