add windows git config

This commit is contained in:
reeink 2024-05-08 00:57:36 +08:00
parent 9a91e31221
commit a600b60c5f
No known key found for this signature in database

View file

@ -1,7 +1,7 @@
[gpg] [gpg]
format = ssh format = ssh
[gpg "ssh"] [gpg "ssh"]
program = {{ .chezmoi.homeDir | replaceAllRegex "/" "\\\\" -}}\\AppData\\Local\\1Password\\app\\8\\op-ssh-sign.exe program = "{{ .chezmoi.homeDir | replaceAllRegex "/" "\\\\" -}}\\AppData\\Local\\1Password\\app\\8\\op-ssh-sign.exe"
[commit] [commit]
gpgsign = true gpgsign = true
[user] [user]
@ -10,4 +10,5 @@
email = {{ .git.reeink.email }} email = {{ .git.reeink.email }}
[credential "helperselector"] [credential "helperselector"]
selected = wincred selected = wincred
[core]
sshCommand = "C:/Windows/System32/OpenSSH/ssh.exe"