为什么会出现此错误:“远程端意外挂断”?

问题描述:

$ git push -u origin master   
Counting objects: 321523, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (85111/85111), done.
error: RPC failed; curl 55 SSL_write() returned SYSCALL, errno = 10053
fatal: The remote end hung up unexpectedly
Writing objects: 100% (321523/321523), 4.29 GiB | 17.11 MiB/s, done.
Total 321523 (delta 159406), reused 320112 (delta 158718)
fatal: The remote end hung up unexpectedly
Everything up-to-date


好的,这是由于您的提交中包含一些不良网络状态或一些大文件引起的。
在我的情况下,我尝试了一些分钟后,它的工作。

Well, this is caused by some bad network status or some large files included in your commit. In my case, I have tried after some mins, it worked.

所以我建议你应该做一些时间间隔,或
增加缓冲区大小,然后再试一次?

So I suggest you should do push several times in some intervals, or increase buffer size and then try to push again?

git config --global http.postBuffer 15728640