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。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章