git - 错误: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。我的网络没问题。
解决方案
推荐阅读
- android - 为什么 mkdirs() 有时返回 false - 创建文件夹时出错
- python - 对 x 行数据框求和并替换
- javascript - React Formik Field onChange 事件句柄
- sql - oracle sql中case条件的更好选择
- sql - 尝试从物化视图中的另一列计算 SUM
- python - Keras每一步的多步LSTM批量训练分类
- php - 根据 wordpress 中的帖子 ID 数组显示帖子元列表
- uwp - Windows 10 分配的访问权限:启动或解锁后失去焦点
- wordpress - 抱歉,您无权访问此页面
- vbscript - 如何在vbscript中的文件中间写入文本?