您当前的位置: 首页 >  git

静静喜欢大白

暂无认证

  • 2浏览

    0关注

    521博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

【Linux】git clone报错fatal: unable to access ‘https://github.com/xxx.git/‘: Encountered end of file

静静喜欢大白 发布时间:2022-10-11 17:32:23 ,浏览量:2

目录

1、问题

2、解决

3、参考

1、问题

git clone代码时突然报错...貌似时不时遇到这个问题,这次遇到了准备简单mark下

git clone https://github.com/xxx.git

报错 fatal: unable to access 'https://github.com/xxx.git/': Encountered end of file

2、解决
git clone http://github.com/xxx.git

 将https改为http成功了,据说也可以改成git尝试(我改成git无用...)

原因不明,奇奇怪怪,ORZ

但其实还有一个笨但简单的方法,那就是将代码下载下来,直接传到服务器上,哈哈哈

3、参考

解决fatal: unable to access 'https://github.com/amazixngTest/xaisite-Plaxm.git/': Encountered end of - 知乎

其他可参考(未尝试)

  • git clone失败:Cloning into... fatal: unable to access... error setting certificate verify locations_blainet的博客-CSDN博客
  • git clone出现 fatal: unable to access 'https://github.com/...'的解决办法(亲测有效)_明天也要加油鸭的博客-CSDN博客
  • 超详细!linux环境git clone探坑录 - 知乎
关注
打赏
1510642601
查看更多评论
立即登录/注册

微信扫码登录

0.0355s