我最近开始使用 GitHub,但出于某种原因,每次我尝试 pull 或推送时,它都会询问我的凭据。我 100% 确定我的凭据是正确的,但 git bash 一直出现此错误:
fatal: Win32Exception encountered.
Failed to write credentials
我不知道为什么,但每次我重新安装 git bash 时它都会工作,直到我下次重新启动。
请询问您可能需要的任何信息,因为我对 git 还很不熟悉。
最佳答案
检查你是否设置了credential helper使用 git config -l|grep credential
在 Windows 上,您应该确保您拥有:
git config --global credential.helper manager
最近Git for Windows ,确实使用了 Microsoft Git Credential Manager , 链接到 Credential Manager in Windows .
关于eclipse - Git bash win32异常 : Failed to write credentials,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43577576/