当前位置:   article > 正文

RPC failed; curl 18 transfer closed with outstanding read data remaining_rpc failed; curl 18 transfer closed with outstandi

rpc failed; curl 18 transfer closed with outstanding read data remaining

在这里插入图片描述
RPC failed; curl 18 transfer closed with outstanding read data remaining
如何解决?
https://blog.csdn.net/kang1011/article/details/107290639

第1种方法尝试:clone某个分支:
git clone -b xxx http://10.11.17.11:3800/demo/xxx.git

第2种方法尝试:设置postBuffer大小
git config --global http.postBuffer 2097152000

第3种方法尝试:浅clone
git clone https://github.com/flutter/flutter.git --depth 1
git clone -b xxx https://github.com/flutter/flutter.git --depth 1
在这里插入图片描述
从数量上,确实少了好多。

但是这个会出现很多问题,就是看不到远程的其他分支了:
所以你可以更改git下的隐藏文件config,如下图所示,在fetch的地方,改为通配符即可,然后进行fetch,然后再切其他分支。
在这里插入图片描述
第4种:clone一个简单的分支,然后在切分支,等到下班人少的时候clone,网速会快一点。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/很楠不爱3/article/detail/707470
推荐阅读
相关标签
  

闽ICP备14008679号