发布于 4年前

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
©2020 edoou.com   京ICP备16001874号-3