成功解决使用git clone命令克隆文件出现error: RPC failed; curl 18 transfer closed with outstanding read data remaini
程序员文章站
2022-03-03 21:18:31
参考文章使用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