在git pull公司项目的时候,发现报错了。报错信息如下所示:

报错信息:
fatal: The remote end hung up unexpectedly
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

错误原因:由于Http协议错误,当Pull或者Clone的时候
因为curl的postBuffer默认值太小的原因,而项目可能本身比较大,所以下载失败。

解决方案: 在Git Bash Here 中执行:
1、Git config –global http.postBuffer 524288000
解析:相当于把curl的postBuffer的值修改的大一些。524288000的单位是B,相当于500MB。

2、git config –list
解析:查看配置,看看新配置是否生效。

3、然后继续执行git pull等命令即可。

注意:如果修改之后还是报相同的错误。那么不用怀疑,可能时候你的项目实在太大了。。。继续加大postBuffer的数值吧,小伙。

end

参考链接:http://blog.csdn.net/snails_zx/article/details/54587132

git pull 报错:git - error: RPC failed; curl 18 transfer closed with outstanding read data remaining 解决相关推荐

  1. git clone 报错:error: RPC failed; curl 18 transfer closed with outstanding read

    欢迎移步我的个人博客 git clone 时候报错如下 error: RPC failed; curl 18 transfer closed with outstanding read data re ...

  2. git pull 报错:git - error: RPC failed curl 18 transfer closed with outstanding read data remaining 解决

    文章目录 1.美图 2.背景 4.配置缓冲区大小 5.查看配置 1.美图 2.背景 在git pull公司项目的时候,发现报错了.报错信息如下所示: 报错信息: fatal: The remote e ...

  3. GIT_error: RPC failed; curl 18 transfer closed with outstanding read data remain

    在克隆大型git仓库时出现问题: error: RPC failed; curl 18 transfer closed with outstanding read data remain (错误:RP ...

  4. mac上git clone报错:error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (e

    一,加大缓存区 git config --global http.postBuffer 524288000 这个大约是500M 二.少clone一些,–depth 1 git clone https: ...

  5. error: RPC failed; curl 18 transfer closed with outstanding read data remain

    究其原因是因为curl的postBuffer的默认值太小,我们需要调整它的大小,在终端重新配置大小 在这里,笔者把postBuffer的值配置成500M,对笔者来说已经够了.可以根据你需要下载的文件大 ...

  6. error: RPC failed; curl 18 transfer closed with outstanding read

    error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: The remote en ...

  7. git pull 报错:error: Pulling is not possible because you have unmerged files.

    报错: $ git pull error: Pulling is not possible because you have unmerged files. hint: Fix them up in ...

  8. 2021-08-03 git pull 报错 cannot lock ref

    git pull 报错:error: cannot lock ref 'refs/remotes/origin/release/xxx': 'refs/remotes/origin/release' ...

  9. error: RPC failed; curl 55 OpenSSL SSL_write: SSL_ERROR_ZERO_RETURN, errno 10053

      git上传文件到远程仓库时报错: error: RPC failed; curl 55 OpenSSL SSL_write: SSL_ERROR_ZERO_RETURN, errno 10053 ...

最新文章

  1. python画板颜色_教你在python中用不同的方式画不同颜色的画布
  2. 记录一下python手动安装第三方库
  3. Wireshark数据抓包分析——网络协议篇
  4. base64文件上传后台处理
  5. [Ubuntu] Simple way to pass passwords on a shell script
  6. 从binlog恢复数据及Mysqlbinlog文件删除
  7. Qt工作笔记-自定义打印及存日志及stderr转stdout(Linux程序调试技巧,提高开发效率)
  8. Linq------错误: Unable to determine the principal end of an association between the types
  9. 《大数据导论》一1.4 案例学习背景
  10. linux fastboot 工具下载,FastBoot刷机工具
  11. Excel表格中如何批量删除工作表
  12. 矩阵的符号用计算机怎么打,在Word文档中怎么打出矩阵的符号?
  13. [OCCT] OCC官方示例介绍
  14. python大学生生活信息交互平台的设计与实现毕业设计-附源码031315
  15. 手写Hashmap第二版
  16. 7-2 求素数个数 (30分)
  17. C语言数据结构【手抄版】第五章 树和二叉树【尾篇】二叉树C实现
  18. HDU - 5643 King's Game (约瑟夫环变式)
  19. FT2232H编程流程分析
  20. 春节后面试别人的经历总结之二,好岗位分享给还在找工作中的软件开发爱好者们

热门文章

  1. c++ opencv roi
  2. KL 损失的边界框回归
  3. ffmpeg openh264
  4. cl: 命令行 error D8021 :无效的数值参数“/Wno-cpp” 和 cl: 命令行 error D8021 :无效的数值参数“/Wno-unused-function”
  5. libdgl.dll WinError 126
  6. A single input file is required for a non-link phase when an outputfile is specified
  7. python列表--查找集合中重复元素的个数
  8. php下正则替换多个br /
  9. linux 邮件客户端 n1,N1:下一代开源邮件客户端
  10. 计算机导论与计算机组成原理关系,计算机组成原理