目录

问题

解决

方法一

方法二


问题

今天在 arm 架构的服务器上创建工程时,遇到了一个报错,执行的命令如下:

git clone https://git.liuzhen007.com/boffmpeg.git

报错信息如下:

fatal: unable to access 'https://git.liuzhen007.com/boffmpeg.git/': The requested URL returned error: 403

报错截图:

解决

方法一

执行如下命令查看 git 配置信息:

git config --list

发现 user.name 和 user.email 配置的用户名和邮箱不正确,然后执行如下命令进行了修改:

git config --global user.name "用户名"
git config --global user.email "邮箱"

再次查看 git 配置信息,发现已经更正,如下图所示:

再次执行 clone 命令,报错依然存在。

方法二

基本上尝试了所有的方法,都没有解决上述问题,最终使用如下命令解决了问题:

git clone git@git.liuzhen007.com:boffmpeg.git

其实,我们在使用 github 或者 gitlab 创建工程时,一般有两种方式, github 更多时候只有一种。我们这里只是替换了一种 clone 代码的方式,上述问题应该还是和 git 配置有关系,但是时间比较紧,就先不深入追究了,知道的小伙伴欢迎评论留言!

解决:The requested URL returned error: 403相关推荐

  1. 解决git提交问题error: The requested URL returned error: 403 Forbidden while accessing

    2019独角兽企业重金招聘Python工程师标准>>> git提交代码时,出现这个错误"error: The requested URL returned error: 4 ...

  2. 解决github push错误The requested URL returned error: 403 Forbidden while accessing(转)

    github push错误: git push error: The requested URL returned error: 403 Forbidden while accessing https ...

  3. git push error: RPC failed; HTTP 403 curl 22 The requested URL returned error: 403

    这是远程链接错误,请求不到服务器 解决办法:找项目管理员帮你开push权限就可以了 参考链接: git push error: RPC failed; HTTP 403 curl 22 The req ...

  4. 关于The requested URL returned error: 403

    fatal: unable to access 'https://github.com/zkhmqyiqi/huashan.git/': The requested URL returned erro ...

  5. git push报错:fatal: unable to access ‘https://github.com/***/‘:The requested URL returned error: 403

    前言 又是被自己菜死的一天. 1.报错信息 使用git push命令后,报错信息如下: remote: Permission to *** denied to . fatal: unable to a ...

  6. push代码至gitee码云报错unable to access 'https://gitee.com/*/git/': The requested URL returned error: 403

    第一次使用idea整合gitee插件用来push代码的时候,不小心输错了用户名或密码,导致后续push代码,一直报错:unable to access 'https://gitee.com/*/git ...

  7. fatal: unable to access : The requested URL returned error: 403

    错误提示如下 C:\Users\AllenIverson\Desktop\gitbook-test>git push -u gitbook master remote: Forbidden fa ...

  8. fatal: unable to access 'xxxxxxxxxxxxx':The requested URL returned error: 403

    完整报错如下 remote: Permission to appleyuchi/Front_Design.git denied to SomeNews. fatal: unable to access ...

  9. git错误: The requested URL returned error: 403 Forbidden while accessing https://github.com/wangz/futu

    github push错误: git push error: The requested URL returned error: 403 Forbidden while accessing https ...

  10. git -- RPC failed; HTTP 403 curl 22 The requested URL returned error: 403

    错误: RPC failed; HTTP 403 curl 22 The requested URL returned error: 403 原因: 账户没有读写权限,联系管理索要权限 排查方法: 使 ...

最新文章

  1. java rectangle获取xy_JFreeChart 动态移动线 并求出两条线交点XY
  2. FPGA加载bit文件可以工作,加载mcs不能工作的原因
  3. MySQL之定时备份及还原
  4. java线程四种状态
  5. AUC 评价指标详解,准确率(ACC),敏感性(sensitivity),特异性(specificity)计算 Python3【TensorFlow2入门手册】
  6. 从动力学角度看优化算法:GAN的第三个阶段
  7. 音视频技术开发周刊 | 146
  8. Acwing 271. 杨老师的照相排列
  9. v4l2 框架下如何设置分辨率_【微学习】低压计量电表如何设置?(下)
  10. PX4代码解析(1)
  11. c语言printf输出中文报错,printf输出中文后还带有数字是怎么回事?
  12. xss漏洞java代码_Java处理XSS漏洞的工具类代码
  13. 非因解读 | 单细胞空间蛋白质组分析技术揭示乳腺癌循环肿瘤细胞(CTC)与肿瘤异质性及肿瘤免疫的关系
  14. ThinkPHP V5.0.5漏洞_谷歌浏览器 v80.0.3987.100 正式版——墨涩网
  15. Python带HTML表格图片的自动邮件发送
  16. R语言利用openxlsx包输出EXCEL报告
  17. 设计模式---外观(Facade)模式
  18. [高效学习]之1学习金字塔
  19. 阿里云虚拟主机Nginx配置
  20. CSDN博客写作编辑器如何使用?

热门文章

  1. Octet string 解析
  2. JS时间戳进行判断,判断是否超时三十分钟
  3. C++算法和数据结构之《二叉树》
  4. javascript 删除节点
  5. 原生js以及jQuery删除节点
  6. 你看我像不像学HTML的人(五)——链接标签、注释和特殊字符
  7. SQL Server 进程无法连接到 Subscriber “xxxxxx”
  8. jqwidgets技术分享
  9. Android inflate解析
  10. 分享一个微信扫码连wifi项目