当前位置: 移动技术网 > IT编程>开发语言>其他编程 > 成功解决使用git clone命令克隆文件出现error: RPC failed; curl 18 transfer closed with outstanding read data remaini

成功解决使用git clone命令克隆文件出现error: RPC failed; curl 18 transfer closed with outstanding read data remaini

2020年09月01日  | 移动技术网IT编程  | 我要评论
参考文章使用git clone命令克隆文件出现error: RPC failed; curl 18 transfer closed with outstanding read data remaining问题remote: Enumerating objects: 8, done.remote: Counting objects: 100% (8/8), done.remote: Compressing objects: 100% (8/8), done.error: RPC failed; cu

参考文章
使用git clone命令克隆文件出现error: RPC failed; curl 18 transfer closed with outstanding read data remaining问题

remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (8/8), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: 过早的文件结束符(EOF)
fatal: index-pack 失败

解决方法,在终端中输入git config --global http.postBuffer 524288000
想要查看是否设置成功输入git config --list

(base) warmtree@warmtree-HP-Pavilion-Laptop-15-cc5xx:~/code$  git config --global http.postBuffer 524288000
(base) warmtree@warmtree-HP-Pavilion-Laptop-15-cc5xx:~/code$ 
(base) warmtree@warmtree-HP-Pavilion-Laptop-15-cc5xx:~/code$   git config --listhttp.postbuffer=524288000

然后再用git clone 命令就可以成功了。

本文地址:https://blog.csdn.net/weixin_44991673/article/details/108576106

如您对本文有疑问或者有任何想说的,请点击进行留言回复,万千网友为您解惑!

相关文章:

验证码:
移动技术网