我使用git扩展名。 我希望密码和用户名存储在缓存中,所以我用过: 混帐凭据winstore。 它工作正常,直到我不得不更改我的电脑密码(win7),它再次要求我插入密码。我插入了一个错误的密码,它存储在缓存中,我无法更改它。 我试图卸载git并没有用。 我从user \ myUser中的.gitconfig文件中删除了行:
[credential]
helper = !'C:\\Users\\grin_d\\AppData\\Roaming\\GitCredStore\\git-credential-winstore.exe'
结果是我每次都必须再次插入密码和用户名。当我再次运行时:git-credential-winstore它再次向我显示错误的密码。
任何想法如何删除存储在缓存中的错误密码?
答案 0 :(得分:2)
检查control panel / User Accounts and Family Safety / User Accounts,或直接检查凭据管理器:
(图片来自“Credential Manager - Where Windows Stores Passwords & Login Details”)
您应该能够删除那里的错误凭证。
答案 1 :(得分:0)
我使用http://[yourgitserverip]/Bonobo.Git.Server/Repository/[repositoryname]更改密码。然后;
添加此行(如果不存在):
[凭证] helper =!\“C:/ Program Files(x86)/GitExtensions/GitCredentialWinStore/git-credential-winstore.exe \”