使用git clone命令报错:error: RPC failed; curl 18 transfer closed with outstanding read data remaining

报错明细:

error: RPC failed; curl 18 transfer closed with outstanding read data remaining

 方案一:

究其原因是因为curl的postBuffer的默认值太小,我们需要调整它的大小,在终端重新配置大小。

设置命令:git config --global http.postBuffer 524288000  。一般而言,这个大小即可。

方案二:

我们可以通过ssh的链接来下载。没有网络传输大小的限制。

猜你喜欢

转载自www.cnblogs.com/cocoxu1992/p/12184389.html