dotfiles/.chezmoitemplates/dot_gitconfig_windows.tmpl

15 lines
438 B
Cheetah

[gpg]
format = ssh
[gpg "ssh"]
program = "{{ .chezmoi.homeDir | replaceAllRegex "/" "\\\\" -}}\\AppData\\Local\\1Password\\app\\8\\op-ssh-sign.exe"
[commit]
gpgsign = true
[user]
signingkey = {{ .git.default.publicKey }}
name = {{ .git.default.name }}
email = {{ .git.default.email }}
[credential]
helper = cache --timeout 86400
helper = oauth
[core]
sshCommand = "C:/Windows/System32/OpenSSH/ssh.exe"