【问题标题】:Git bash win32exception: Failed to write credentialsGit bash win32exception:无法写入凭据
【发布时间】:2017-04-23 23:20:20
【问题描述】:

我最近开始使用 GitHub,但出于某种原因,每次我尝试拉取或推送它时都会询问我的凭据。我 100% 确定我的凭据正确,但 git bash 不断给出此错误:

fatal: Win32Exception encountered.
       Failed to write credentials

我不知道为什么,但每次我重新安装 git bash 直到我下次重新启动时它都可以工作。

请询问您可能需要的任何信息,因为我对 git 还很陌生。

【问题讨论】:

    标签: eclipse git bash github win32exception


    【解决方案1】:

    检查您是否设置了credential helpergit config -l|grep credential

    在 Windows 上,您应该确保:

    git config --global credential.helper manager
    

    对于最近的Git for Windows,确实使用了Microsoft Git Credential Manager,链接到Credential Manager in Windows

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-03-04
    • 1970-01-01
    • 1970-01-01
    • 2019-05-23
    • 2022-11-01
    • 2012-11-04
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多