使用idea进行Git克隆时,遇到一下问题:
early EOF
The remote end hung up unexpectedly index-pack failed RPC failed;
curl 18 transfer closed
网络查询许多,有说将git的url地址前面https://换成git://的,也有说是网络问题的,还有说是git仓库地址问题的。
最后经过试验,发现是git配置项的问题。
解决方法:
找到你要将git代码克隆的文件夹目录,鼠标右键打开 git bash here
运行此条命令:
git config --add core.compression -1