首页 > 解决方案 > 错误:RPC 失败;curl 18 传输关闭,在推送大回购时剩余未完成的读取数据

问题描述

使用本指南复制仓库时遇到问题:https ://help.github.com/en/github/creating-cloning-and-archiving-repositories/duplicating-a-repository

克隆 repo 没有问题(这是一个很大的 repo),但是当我尝试将它推送到新的存储库时,出现此错误:

$ git push --mirror https://github.com/myUser/MyProject.git                  
Enumerating objects: 517332, done.
Counting objects: 100% (517332/517332), done.
Delta compression using up to 8 threads
Compressing objects: 100% (135229/135229), done.
Writing objects: 100% (517332/517332), 745.70 MiB | 209.55 MiB/s, done.
Total 517332 (delta 372827), reused 517332 (delta 372827)
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date

http.postBuffer已经增加到 1048576000。我的网络没问题。

标签: git

解决方案


推荐阅读