dotfiles/.chezmoitemplates/dot_gitconfig_wsl.tmpl
2025-05-14 00:36:03 +08:00

20 lines
556 B
Cheetah

[gpg]
format = ssh
[gpg "ssh"]
program = /mnt/c/Users/{{- (output "powershell.exe" "$env:UserName") | trim -}}/AppData/Local/1Password/app/8/op-ssh-sign-wsl
[commit]
gpgsign = true
[user]
signingkey = {{ .git.default.publicKey }}
name = {{ .git.default.name }}
email = {{ .git.default.email }}
[core]
sshCommand = ssh.exe
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[credential]
helper = cache --timeout 604800
helper = oauth