目录
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探坑录 - 知乎