目录
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、参考
其他可参考(未尝试)