-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
78 lines (70 loc) · 2 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
75
76
77
78
; =======================
; === Global Settings ===
; =======================
[core]
autocrlf = input
safecrlf = true
[credential]
helper = store
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[remote "origin"]
prune = true
[advice]
addIgnoredFile = false
[init]
defaultBranch = master
; ======================
; === Delta Settings ===
; ======================
[core]
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true # use n and N to move between diff sections
dark = true # or light = true, or omit for auto-detection
hunk-header-style = omit
hyperlinks = true
keep-plus-minus-markers = true
line-numbers = true
; https://github.com/catppuccin/delta/blob/main/catppuccin.gitconfig
blame-palette = "#1e1e2e #181825 #11111b #313244 #45475a"
commit-decoration-style = "#6c7086" bold box ul
; dark = true
file-decoration-style = "#6c7086"
file-style = "#cdd6f4"
hunk-header-decoration-style = "#6c7086" box ul
hunk-header-file-style = bold
hunk-header-line-number-style = bold "#a6adc8"
; hunk-header-style = file line-number syntax
line-numbers-left-style = "#6c7086"
line-numbers-minus-style = bold "#f38ba8"
line-numbers-plus-style = bold "#a6e3a1"
line-numbers-right-style = "#6c7086"
line-numbers-zero-style = "#6c7086"
# 25% red 75% base
minus-emph-style = bold syntax "#53394c"
# 10% red 90% base
minus-style = syntax "#34293a"
# 25% green 75% base
plus-emph-style = bold syntax "#404f4a"
# 10% green 90% base
plus-style = syntax "#2c3239"
map-styles = \
bold purple => syntax "#494060", \
bold blue => syntax "#384361", \
bold cyan => syntax "#384d5d", \
bold yellow => syntax "#544f4e"
# Should match the name of the bat theme
syntax-theme = Catppuccin Mocha
; [merge]
; conflictstyle = zdiff3 ; Throws an error in lishui linux server
; ==========================
; === Localhost Settings ===
; ==========================
[include]
path = ~/.gitconfig.localhost