git Remote: HTTP Basic: Access denied Git failed with a fatal error.

解决方案:

git clone 项目失败,报下面的错误信息:
$ git clone http://192.168.0.141/xxxx.git
Cloning into 'appEnterprise'...
remote: HTTP Basic: Access denied
fatal: Authentication failed for ...
因为之前输入错误的gitlab用户名和密码,第二次clone不弹框提示输入用户名和密码的解决方案。

打开凭据管理器 - Windows凭据,找到对应的凭据,删除掉,重新clone,就会弹框
提示用户名和密码。


 
image.png
 


链接:https://www.jianshu.com/p/08068ebe5f84

posted @ 2019-04-25 16:06  chendashuo  阅读(563)  评论(0编辑  收藏  举报