症状:
Git突然拒绝推送存储库(在我的情况下为github):
$ git push
Counting objects: 9292, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (2136/2136), done.
error: RPC failed; result=22, HTTP code = 411
fatal: The remote end hung up unexpectedly
Writing objects: 100% (8222/8222), 1.27 MiB | 837 KiB/s, done.
Total 8222 (delta 6060), reused 8181 (delta 6033)
fatal: The remote end hung up unexpectedly
Everything up-to-date
Run Code Online (Sandbox Code Playgroud) 我正在尝试将我的代码推送到github,但几乎每次我都遇到这个错误
error: RPC failed; result=28, HTTP code = 0
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Run Code Online (Sandbox Code Playgroud)
这太烦人了.谁知道如何解决这个问题?
更新我用Google搜索后,我读到运行git config --global http.postBuffer 524288000可以解决问题.但即使在我执行该命令后,我仍然遇到了问题.