得到“致命的:认证失败”。 Windows 10中发送git命令时出现错误 [英] Getting "fatal: Authentication failed" -error when sending git commands in Windows 10

查看:155
本文介绍了得到“致命的:认证失败”。 Windows 10中发送git命令时出现错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更新域密码后,将无法再访问git-repo。 VS代码和源代码树以及Visual Studio在拉,推,提取等时返回以下错误消息。

After updating domain password, accessing git-repo is no longer possible. VS Code and Source Tree as well as Visual Studio are returning the following error message on pull, push, fetch etc..

fatal: Authentication failed

通常应显示一个凭据弹出窗口,但是这种情况不会发生。也是常见的建议...

Normally a credentials pop-up should appear however this is not happening. Also the common recommendation...

git config --global credential.helper wincred

...不起作用。

推荐答案

密码存储在Windows凭据管理器中,需要更新。打开命令提示符,然后输入以下命令以查看存储的密码列表:

The password is stored in windows credential manager and needs to be updated. Open command prompt and enter the following command to view the list of stored passwords:

rundll32.exe keymgr.dll,KRShowKeyMgr

在列表中向下滚动,直到找到与git相关的条目。单击它并编辑正确的密码。

Scroll down in the list until you spot the git-related entries. Click it and edit the correct password.

Voilà!

这篇关于得到“致命的:认证失败”。 Windows 10中发送git命令时出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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