update git credential oauth config

This commit is contained in:
reonokiy 2025-03-18 04:34:39 +08:00
parent 94ab625749
commit 24c8d3d1cb
Signed by: reonokiy
SSH key fingerprint: SHA256:2VjKpUxMIe0QYY3OVnOMuPiB0X5pvrIpJ+UiyFhxtq0
2 changed files with 5 additions and 4 deletions

View file

@ -9,7 +9,7 @@
name = {{ .git.default.name }} name = {{ .git.default.name }}
email = {{ .git.default.email }} email = {{ .git.default.email }}
[credential] [credential]
helper = cache --timeout 21600 helper = cache --timeout 86400
helper = oauth helper = oauth
[hub] [hub]
protocol = ssh protocol = ssh

View file

@ -8,7 +8,8 @@
signingkey = {{ .git.default.publicKey }} signingkey = {{ .git.default.publicKey }}
name = {{ .git.default.name }} name = {{ .git.default.name }}
email = {{ .git.default.email }} email = {{ .git.default.email }}
[credential "helperselector"] [credential]
selected = wincred helper = cache --timeout 86400
helper = oauth
[core] [core]
sshCommand = "C:/Windows/System32/OpenSSH/ssh.exe" sshCommand = "C:/Windows/System32/OpenSSH/ssh.exe"