首页 > 其他 > 详细

git clone 拉取github上面的代码报错:fatal: Authentication failed for xxx解决

时间:2019-09-27 14:18:07      阅读:646      评论:0      收藏:0      [点我收藏+]

1.打开git bash,输入密码:git config --system --unset credential.helper
2.结果报错:error: could not lock config file xxx: Permission denied
3.打开cmd窗口,输入where cmd,找到cmd.exe路径后,右击cmd.exe以管理员身份运行
4.在cmd窗口输入:git config --system --unset credential.helper,成功!
5.打开git bash窗口,重新clone,输入gitlab用户名和密码后,clone成功!

 

git clone 拉取github上面的代码报错:fatal: Authentication failed for xxx解决

原文:https://www.cnblogs.com/rrl92/p/11597417.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!