-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
87 lines (87 loc) · 2.39 KB
/
Copy path.gitconfig
File metadata and controls
87 lines (87 loc) · 2.39 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
[user]
name = Loïc Villet
email = villet.loic@gmail.com
[alias]
diffs = -c delta.features=side-by-side diff
difft = difftool -d --tool=difft
[core]
editor = nvim
pager = delta
[interactive]
diffFilter = cat
[diff]
context = 3
[color "diff-highlight"]
[color "diff"]
plain = white
context = white
func = white
meta = "#575553"
frag = brightblack
commit = magenta
old = red bold
new = green bold
whitespace = red reverse
[delta]
minus-style = dim syntax "#3f0001"
plus-style = syntax "#002800"
; minus-style = syntax
; plus-style = dim syntax
; minus-non-emph-style = dim syntax "#3f0001"
; plus-non-emph-style = syntax "#002800"
; plus-empty-line-marker-style = green bold "#002800"
; minus-empty-line-marker-style = red bold "#3f0001"
keep-plus-minus-markers = false
navigate = true
light = false
file-style = bold yellow
file-decoration-style = yellow box
hunk-header-style = line-number syntax
; map-styles = "bold brightblack => bold #9d39b3 #3f0001, bold blue => bold blue #002800"
; map-styles = "\
; bold #363e47 => bold #363e47 #3f0001, \
; bold blue => bold blue #002800, \
; bold brightblack => bold brightblack #3f0001, \
; bold cyan => bold cyan #002800"
line-numbers = true
; line-numbers-minus-style = "#444444"
; line-numbers-zero-style = "#444444"
; line-numbers-plus-style = "#444444"
line-numbers-left-format = "{nm:>4} "
line-numbers-right-format = "{np:>4} "
; line-numbers-left-style = blue
; line-numbers-right-style = blue
[init]
defaultBranch = main
[diff]
colorMoved = default
; colorMoved = dimmed-zebra
colormovedws = allow-indentation-change
; colormovedws = ignore-all-space, ignore-space-at-eol, ignore-space-change
tool = vscode
[difftool]
prompt = false
[pager]
difftool = delta
# Windows paths
[includeIf "gitdir/i:C:/Users/"]
path = ~/myfiles/dotfiles/gitaliases.txt
# WSL/Linux paths
[includeIf "gitdir:/home/"]
path = ~/dotfiles/gitaliases.txt
[include]
; [difftool "bc"] ; Unused, but kept for reference
; cmd = "C:/Users/ville/AppData/Local/Programs/Beyond Compare 5/BCompare.exe" "$LOCAL" "$REMOTE"
[merge]
tool = vscode
[difftool "vscode"]
cmd = code --wait --diff $LOCAL $REMOTE
[mergetool "vscode"]
cmd = code --wait $MERGED
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[push]
useForceIfIncludes = true