GitHub推送失败,RPC失败;curl 55 SSL_write()返回SYSCALL,errno = 32 [英] GitHub push fails with RPC failed; curl 55 SSL_write() returned SYSCALL, errno = 32

查看:158
本文介绍了GitHub推送失败,RPC失败;curl 55 SSL_write()返回SYSCALL,errno = 32的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经完成我的工作,我想将其推送到我在github上的仓库中

I have committed my work and I want to push it on my repo on the github

但推送失败,并显示此错误:

but the push fails and this error is displayed:

error: RPC failed; curl 55 SSL_write() returned SYSCALL, errno = 32
fatal: the remote end hung up unexpectedly
Total 10 (delta 3), reused 0 (delta 0)
fatal: the remote end hung up unexpectedly
Done

我该如何解决?

推荐答案

请首先检查您刚刚提交的工作是否使存储库太大而无法推送到GitHub.

Check first if your work you just committed made your repository too big to be pushed to GitHub.

您可以使用> github/git-sizer 之类的工具>了解什么占用了这么多空间.

You can use a tool like github/git-sizer to get an idea of what is taking so much space.

如果看到一个太大的元素,该元素不应该存在,请尝试将其删除(在您现在 .gitignore 之后,但它仍将是您过去的提交历史记录的一部分)

If you see an element too large which should not be there, try and delete it (after you now .gitignore it, but it would still be part of your past commit history)

为此,请使用 git filter-repo (我在这里提到).

先安装.( python3 -m pip install --user git-filter-repo )

然后,例如:

git filter-repo --strip-blobs-bigger-than 10M

这篇关于GitHub推送失败,RPC失败;curl 55 SSL_write()返回SYSCALL,errno = 32的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆