侧边栏壁纸
博主头像
★街角晚灯★博主等级

博观而约取 厚积而薄发

  • 累计撰写 448 篇文章
  • 累计创建 183 个标签
  • 累计收到 0 条评论

目 录CONTENT

文章目录

remote: HTTP Basic: Access denied fatal: Authentication failed for

WinJay
2019-03-12 / 0 评论 / 0 点赞 / 131 阅读 / 1073 字 / 正在检测是否收录...
温馨提示:
文章发布较早,内容可能过时,阅读注意甄别。。。。

title: 'remote: HTTP Basic: Access denied fatal: Authentication failed for' date: '2019-03-12 13:41:41+08:00'


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

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

![](//upload-images.jianshu.io/upload_images/1960688-8c18b9e9f16c9cb2.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/390/format/webp)
![](//upload-images.jianshu.io/upload_images/1960688-6ab891099992ae26.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/743/format/webp)

问题描述: git push 报 HTTP Basic: Access denied 错误
解决方案:
如果账号密码有变动 用这个命令 git config –system –unset credential.helper 重新输入账号密码 应该就能解决了

如果用了第一个命令 还不能解决问题那么 用这个命令:

git config –global http.emptyAuth true

0
Git
  1. 支付宝打赏

    qrcode alipay
  2. 微信打赏

    qrcode weixin

评论区