-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_gitconfig.tmpl
More file actions
87 lines (86 loc) · 1.9 KB
/
Copy pathdot_gitconfig.tmpl
File metadata and controls
87 lines (86 loc) · 1.9 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 = Florin Popa
email = {{ .email }}
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBoDrobY6yVanyC6bncei3kseeYawWXwrdT+i+cSsAiz
[color]
ui = auto
[log]
date = iso
[status]
showStash = true
[push]
default = current
autoSetupRemote = true
followTags = true
[fetch]
prune = true
pruneTags = true
fsckobjects = true
[transfer]
fsckobjects = true
[receive]
fsckObjects = true
[pull]
rebase = true
[rebase]
autoStash = true
autoSquash = true
updateRefs = true
missingCommitsCheck = error
[rerere]
enabled = true
[init]
defaultBranch = main
[core]
pager = delta
excludesfile = ~/.gitignore_global
hooksPath = ~/.git-hooks
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[commit]
gpgsign = true
verbose = true
[gpg]
format = ssh
[gpg "ssh"]
{{- if eq .chezmoi.os "darwin" }}
program = /Applications/1Password.app/Contents/MacOS/op-ssh-sign
{{- else }}
program = /opt/1Password/op-ssh-sign
{{- end }}
{{ if not .isWork -}}
[url "ssh://git@github.com/FlorinPopaCodes/"]
insteadOf = https://github.com/FlorinPopaCodes/
[url "ssh://git@github.com/"]
pushInsteadOf = https://github.com/
{{ end -}}
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
line-numbers = true
side-by-side = true
[merge]
conflictStyle = zdiff3
[diff]
colorMoved = default
algorithm = histogram
[branch]
sort = -committerdate
autoSetupMerge = simple
[tag]
sort = -version:refname
[help]
autocorrect = prompt
[gitbutler]
aiModelProvider = anthropic
aiAnthropicKeyOption = butlerAPI
[merge "mergiraf"]
name = mergiraf
driver = mergiraf merge --git %O %A %B -s %S -x %X -y %Y -p %P -l %L
# Include local overrides (not tracked by git)
[include]
path = ~/.gitconfig.local