git克隆代码出现Authentication failed for “http://xxxxxx“ 解决方案

1、打开cmd窗口

2、输入命令git config --system --unset credential.helper

3、然后去操作推送,拉取和或者克隆等任意操作

4、提示你输入用户名和密码,修改之

5、再在git bash中执行命令:git config --global credential.helper store

6、再次执行3,输入用户名密码

7、OK。

posted @ 2022-09-03 10:23  兴趣就是天赋  阅读(634)  评论(0编辑  收藏  举报