【问题标题】:Git push command not working but gives error: RPC failedGit push 命令不起作用但给出错误:RPC 失败
【发布时间】:2021-11-28 02:21:36
【问题描述】:

输入git push后,出现此错误,文件未上传。

请帮我推送我的代码。

我的总代码库超过 1.3Gb。我以前每天推送代码没有任何问题。

突然出现了这个问题:

Enumerating objects: 2486, done.
Counting objects: 100% (2486/2486), done.
Delta compression using up to 4 threads
Compressing objects: 100% (2154/2154), done.
error: RPC failed; curl 55 SSL_write() returned SYSCALL, errno = 32
fatal: the remote end hung up unexpectedly
Writing objects: 100% (2407/2407), 138.79 MiB | 4.73 MiB/s, done.
Total 2407 (delta 511), reused 0 (delta 0)
fatal: the remote end hung up unexpectedly
Everything up-to-date

【问题讨论】:

  • 似乎是网络或 Internet 连接问题。检查你的 git 服务器是否可以访问?
  • @MiladDastanZand 是的,我有强大的网络连接

标签: git github


【解决方案1】:

如果问题仍然存在,请先检查:

  • 将现有存储库克隆到新文件夹中
  • 用 git log 检查你的最后一次推送确实丢失了
  • 为了测试,尝试进行 small 提交并推送它。

从同一个新克隆的存储库中,尝试将您的工作从旧本地存储库报告到新存储库,然后assuming the commit is not too big,从新的本地克隆再次推送它。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-10-05
    • 2022-07-19
    • 2011-04-26
    • 1970-01-01
    • 1970-01-01
    • 2011-08-22
    • 2016-09-14
    相关资源
    最近更新 更多