发布于 5年前
wsl 与 宿主共享 git 凭据
// PowerShell
git config --global credential.helper wincred
// WSL
git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/libexec/git-core/git-credential-wincred.exe"
// 具体参见 https://code.visualstudio.com/docs/remote/troubleshooting#_sharing-git-credentials-between-windows-and-wsl