-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_gitconfig.tmpl
More file actions
46 lines (34 loc) · 857 Bytes
/
dot_gitconfig.tmpl
File metadata and controls
46 lines (34 loc) · 857 Bytes
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
[user]
name = {{ .name }}
email = {{ (onepasswordItemFields "GitHub SSH Signing Key" "Private" "my").email.value }}
signingkey = {{ (onepasswordDetailsFields "GitHub SSH Signing Key" "Private" "my").public_key.value }}
[core]
excludesfile = ~/.gitignore
[gpg]
format = ssh
[gpg "ssh"]
program = /Applications/1Password.app/Contents/MacOS/op-ssh-sign
[commit]
template = {{ .chezmoi.homeDir }}/.gitmessage
gpgsign = true
[tag]
gpgsign = true
[pull]
rebase = true
[push]
autosetupremote = true
[rebase]
autostash = true
[advice]
skippedcherrypicks = false
[help]
autocorrect = 10
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
{{ if .idealo -}}
[includeIf "gitdir:~/Projects/github.com/idealo/"]
path = ~/.gitconfig-idealo
{{ end -}}