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成功!

转载于:https://www.cnblogs.com/rrl92/p/11597417.html

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

  1. iOS开发:GitHub上传代码错误提示fatal: Authentication failed for 'https://gitee.com/XXX/XXX.git/‘的解决方法

    上传代码到Git上面,有时候会遇到各种情况,有些时候是因为合并代码冲突,有些时候是因为修改了Git的登录密码需要重新认证.那么这里就来讲解错误提示fatal: Authentication faile ...

  2. git拉取代码报错fatal Authentication failed for ‘httpxxxx.git‘‘解决方案

    git拉取代码报错fatal: Authentication failed for 'http:xxxx.git''解决方案 1.需求背景 最近由于自己的主机出问题了,所以换了一台主机,然后在换的主机 ...

  3. 解决git报错fatal: Authentication failed for ‘http://10.10.208.29/root/xmh.git/‘

    今天准备在git push代码的时候,突然报错fatal: Authentication failed for 'http://10.10.208.29/root/xmh.git/' 然后尝试了git ...

  4. git配置报错fatal: Authentication failed for ‘‘问题解决

    git配置报错fatal: Authentication failed for ''问题解决 参考文章: (1)git配置报错fatal: Authentication failed for ''问题 ...

  5. 阿里云Code(code.aliyun)提交代码时报错fatal: Authentication failed for‘https://code.aliyun.com/...‘身份验证失败

    阿里云Code(code.aliyun)提交代码时报错fatal: Authentication failed for'https://code.aliyun.com/-'身份验证失败,是因为阿里云登 ...

  6. Mac 升级后git pull 报错fatal: Authentication failed for 解决办法

    转载:Mac 升级后git pl 报错fatal: Authentication failed for 解决办法 - 简书 git pull,,,报错如下: cat .git/config git r ...

  7. github上传代码报错remote: Support for password authentication was removed on August 13, 2021. Please use a

    文章目录 项目场景: 问题描述和原因分析: token方式登录: 生成自己的token 在个人设置页面,找到Setting 左侧边栏 选择开发者设置 Developer setting 选择个人访问令 ...

  8. Git报错:fatal: Authentication failed for ‘https://gitee.com/.......‘

    提交代码到码云,Git报错如下: Gavin: Incorrect username or password (access token) fatal: Authentication failed f ...

  9. gitlab上传代码报错fatal: unable to access ‘http://gitlab********‘: Could not resolve host: gitlab.******

    fatal: unable to access 'http://gitlab.*******.git/': Could not resolve host: gitlab.***** 尝试输入命令行: ...

最新文章

  1. 汽车成黑客攻击新目标
  2. 安装Qt creator时出现 无法定位程序输入点_except1 于动态链接库MSVCR120.dll上
  3. Linux使用技巧9--用dpkg管理你的软件
  4. JavaScript + Audio API自制简易音乐播放器(详细完整版、小白都能看懂)
  5. 平衡二叉树操作的演示
  6. c语言if语句教学设计,c语言if语句教学设计.pdf
  7. 计算机组成安徽大学,2安徽大学《计算机组成与结构》B卷及答案.pdf
  8. Error - ORA-26028
  9. MFC消息映射与消息传递内幕
  10. 基于SSM的单点登陆01
  11. 小小方法,问题锦集。
  12. 程序员 -- 黎明前凋零的奇葩
  13. 100以内的奇数和偶数的和
  14. linux 1.0 如何运行,观点|Linux 1.0 之旅:回顾这一切的开始
  15. 学习英文-学以致用【场景:程序员英文-开发环境】
  16. MPC574x平台学习——CAN通信
  17. Material Design的基础知识
  18. Android 高仿微信头像截取 打造不一样的自定义控件
  19. BAT命令常用API
  20. H3C产品的默认密码是多少?

热门文章

  1. Vue中watch监听数据变化以及watch中各属性详解
  2. mysql打开慢查询_MySQL 开启慢查询日志的方法
  3. 【java笔记】scanner类和匿名对象的使用
  4. 网页自动切换html css js,HTML页面自动清理js、css文件的缓存(自动添加版本号)_HTML/Xhtml_网页制作...
  5. vscode设置背景图片
  6. jenkins无法连接仓库:Command “/usr/bin/git ls-remote -h -- https://gitee.com/xxx.git HEAD“ returned
  7. 远程使用plsql登陆数据库时,界面提示 ORA-12170 TNS 连接超时
  8. callback用法 js vue_Vue前端开发——使用高德地图WebApi
  9. UVa101 - The Blocks Problem
  10. matlab 线性方程组 最小二乘解,超定方程组的最小二乘解