diff --git a/.chezmoitemplates/dot_gitconfig_linux.tmpl b/.chezmoitemplates/dot_gitconfig_linux.tmpl index 027f2f4..4085ac9 100644 --- a/.chezmoitemplates/dot_gitconfig_linux.tmpl +++ b/.chezmoitemplates/dot_gitconfig_linux.tmpl @@ -9,7 +9,7 @@ name = {{ .git.default.name }} email = {{ .git.default.email }} [credential] - helper = cache --timeout 21600 + helper = cache --timeout 86400 helper = oauth [hub] protocol = ssh diff --git a/.chezmoitemplates/dot_gitconfig_windows.tmpl b/.chezmoitemplates/dot_gitconfig_windows.tmpl index d7046fc..abf786c 100644 --- a/.chezmoitemplates/dot_gitconfig_windows.tmpl +++ b/.chezmoitemplates/dot_gitconfig_windows.tmpl @@ -8,7 +8,8 @@ signingkey = {{ .git.default.publicKey }} name = {{ .git.default.name }} email = {{ .git.default.email }} -[credential "helperselector"] - selected = wincred +[credential] + helper = cache --timeout 86400 + helper = oauth [core] - sshCommand = "C:/Windows/System32/OpenSSH/ssh.exe" \ No newline at end of file + sshCommand = "C:/Windows/System32/OpenSSH/ssh.exe"