使用Git设置远程Remote仓库时显示authentication failed for xxx错误

原文链接:https://blog.csdn.net/h927974926/article/details/100031003

错显示:Invalid Remote

                  Remote URL test failed: Authentication failed for http://x.x.x.x/x/git

是由于系统记住了Git的凭据,即记住了username和password,当这两者发生改变时会报错。

解决:

1、进入“控制面板”——“用户账户”——凭据管理器——windows凭据:

使用Git设置远程Remote仓库时显示authentication failed for xxx错误

2、找到Git的用户名和密码,编辑修改即可