获得“致命:身份验证失败"- 在 Windows 10 中发送 git 命令时出错 [英] Getting "fatal: Authentication failed" -error when sending git commands in Windows 10

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

问题描述

更新域密码后,无法再访问git-repo.VS Code 和 Source Tree 以及 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.

瞧!

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

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