From 6d0198fcb87da73de86a9f845de83fef64195f59 Mon Sep 17 00:00:00 2001 From: reonokiy Date: Sun, 19 May 2024 19:27:54 +0800 Subject: [PATCH] add git-credential-oauth for wsl --- .chezmoitemplates/dot_gitconfig_wsl.tmpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.chezmoitemplates/dot_gitconfig_wsl.tmpl b/.chezmoitemplates/dot_gitconfig_wsl.tmpl index 7792422..0d1629d 100644 --- a/.chezmoitemplates/dot_gitconfig_wsl.tmpl +++ b/.chezmoitemplates/dot_gitconfig_wsl.tmpl @@ -15,3 +15,6 @@ clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f process = git-lfs filter-process +[credential] + helper = cache --timeout 21600 + helper = oauth