无法从git更改用户名和密码 [英] Can't change username and password from git

查看:154
本文介绍了无法从git更改用户名和密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用git扩展。
我想要将密码和用户名存储在缓存中,所以我使用:
git-credential-winstore。
它工作得很好,直到我必须更改我的电脑密码(win7),并再次要求我插入密码。我插入了一个错误的密码,它存储在缓存中,我无法更改它。
我试图卸载git并没有用。
我从user \myUser中的.gitconfig文件中删除了行:

  [凭证] 
助手=!'C:\\ Users \\grin_d\\AppData\\Roaming\\GitCredStore\\git-credential-winstore.exe'

结果是我不得不每次输入密码和用户名。当我再次运行时:git-credential-winstore它再次显示我错误的密码。



任何想法如何删除存储在缓存中的错误密码?

解决方案

检查



< sup>(图片来自 Credential Manager - Where Windows存储密码和登录详细信息



您应该能够删除fau那里有lty凭证。

I use git extension. I wanted the password and username to be store in cache so I used: git-credential-winstore. It worked fine until I had to change the password in my computer (win7) and it asked me again to insert password. I inserted a wrong password and it stores in the cache and I can't change it. I tried to uninstall git and no use. I deleted from .gitconfig file in user\myUser the lines:

[credential]
helper = !'C:\\Users\\grin_d\\AppData\\Roaming\\GitCredStore\\git-credential-winstore.exe'

The result was that I had to insert again every time the password and username. When I run again: git-credential-winstore it shows me again the wrong password.

Any idea how can I delete the wrong password stored in the cache?

解决方案

Check the control panel / User Accounts and Family Safety / User Accounts, or directly the Credential Manager:

(Image from "Credential Manager - Where Windows Stores Passwords & Login Details")

You should be able to delete the faulty credential there.

这篇关于无法从git更改用户名和密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆