From a600b60c5f11c53fa49162aa07ee699f01b30d9e Mon Sep 17 00:00:00 2001 From: reeink Date: Wed, 8 May 2024 00:57:36 +0800 Subject: [PATCH] add windows git config --- .chezmoitemplates/dot_gitconfig_windows.tmpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.chezmoitemplates/dot_gitconfig_windows.tmpl b/.chezmoitemplates/dot_gitconfig_windows.tmpl index 2049944..30acb8f 100644 --- a/.chezmoitemplates/dot_gitconfig_windows.tmpl +++ b/.chezmoitemplates/dot_gitconfig_windows.tmpl @@ -1,7 +1,7 @@ [gpg] format = 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] gpgsign = true [user] @@ -10,4 +10,5 @@ email = {{ .git.reeink.email }} [credential "helperselector"] selected = wincred - \ No newline at end of file +[core] + sshCommand = "C:/Windows/System32/OpenSSH/ssh.exe" \ No newline at end of file