-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_gitconfig.tmpl
More file actions
61 lines (61 loc) · 1.32 KB
/
dot_gitconfig.tmpl
File metadata and controls
61 lines (61 loc) · 1.32 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
[user]
name = Bryan Low
signingkey = ~/.ssh/signing.pub
[init]
defaultBranch = main
[core]
editor = nvim
pager = diff-so-fancy | less --tabs=4 -RFX
[pull]
rebase = true
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[gpg "ssh"]
allowedSignersFile = ~/.config/git/allowed_signers
{{- if eq .chezmoi.os "darwin" }}
program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign"
{{- else }}
program = "/opt/1Password/op-ssh-sign"
{{- end }}
[commit]
gpgsign = true
[diff]
algorithm = histogram
[gpg]
format = ssh
[interactive]
diffFilter = diff-so-fancy --patch
[color]
ui = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 11
frag = magenta bold
func = 146 bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
[push]
autoSetupRemote = true
[fetch]
prune = true
[diff-so-fancy]
changeHunkIndicators = false
[merge]
tool = diffview
[mergetool "diffview"]
cmd = nvim -c "DiffviewOpen"
[includeIf "gitdir:~/Projects/work/**"]
path = ~/Projects/work/.gitconfig
[includeIf "gitdir:~/Projects/github/**"]
path = ~/Projects/github/.gitconfig
[includeIf "gitdir:~/Projects/usyd/**"]
path = ~/Projects/usyd/.gitconfig