git pull 时报错:The remote end hung up unexpectedly

在进行git clone 下载项目是,出现了这样的错误:

error: RPC failed; curl 56 Recv failure: Connection was reset fatal: The remote end hung up unexpectedly快速方案:或者将http.postBuffer调整的更大:


从, 可以了解到:Maximum size in bytes of the buffer used by smart HTTP transports when POSTing data to the remote system.For requests larger than this buffer size, HTTP/1.1 andis used to avoid creating a massive pack file locally. Default is 1 MiB, which is sufficient for most requests.翻译过来就是HTTP传输的缓冲区大小,避免在本地创建大量的包文件。表示curl接收错误。


The remote end hung up unexpectedly while git cloning


  • 发表于:
  • 原文链接
  • 腾讯「腾讯云开发者社区」是腾讯内容开放平台帐号(企鹅号)传播渠道之一,根据《腾讯内容开放平台服务协议》转载发布内容。
  • 如有侵权,请联系 删除。