Wincred not working properly with Git Bash(Git for Windows) when executing certain commands like “prune”

别来无恙 提交于 2019-12-04 20:20:40

If you are using the latest Git for Windows, make sure to set your credential helper to manager, not WinCred (which was obsoleted some times ago)

git config --global credential.helper manager

That will use the GCM (Git-Credential-Manager-for-Windows).

As mentioned here:

It's the successor to the Windows Credential Store for Git (git-credential-winstore), which is no longer maintained.

Compared to Git's built-in credential storage for Windows (wincred), which provides single-factor authentication support working on any HTTP enabled Git repository, GCM provides multi-factor authentication support for Azure DevOps, Team Foundation Server, GitHub, and Bitbucket.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!