From 1adea02361c49514edca0520a605e2dd7a2ee85b Mon Sep 17 00:00:00 2001 From: reeink Date: Sun, 17 Mar 2024 21:53:22 +0800 Subject: [PATCH] add git lfs config and credential config --- .chezmoitemplates/dot_gitconfig_wsl.tmpl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.chezmoitemplates/dot_gitconfig_wsl.tmpl b/.chezmoitemplates/dot_gitconfig_wsl.tmpl index 1ec710e..da0c9eb 100644 --- a/.chezmoitemplates/dot_gitconfig_wsl.tmpl +++ b/.chezmoitemplates/dot_gitconfig_wsl.tmpl @@ -10,3 +10,11 @@ email = {{ .git.reeink.email }} [core] sshCommand = ssh.exe +[filter "lfs"] + required = true + clean = git-lfs clean -- %f + smudge = git-lfs smudge -- %f + process = git-lfs filter-process +[credential] + helper = cache --timeout 7200 + helper = oauth