git push 错误:RPC 失败;结果=56,HTTP 代码 = 0

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/22005259/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 17:47:07  来源:igfitidea点击:

git push error: RPC failed; result=56, HTTP code = 0

git

提问by xiangwan

Detailed info:

详细信息:

Username for 'https://xiangwan.visualstudio.com': xiangwan
Password for 'https://[email protected]':
Counting objects: 85, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (58/58), done.
Writing objects: 100% (63/63), 20.67 KiB | 0 bytes/s, done.
Total 63 (delta 26), reused 1 (delta 0)
error: RPC failed; result=56, HTTP code = 0
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
  1. has set git config http.postBuffer 524288000, still the error;
  2. Only HTTPS authenticate, no SSH
  1. 已设置git config http.postBuffer 524288000,仍然是错误;
  2. 仅 HTTPS 身份验证,无 SSH

回答by Roshan

The problem is most likely because your git buffer is too low.

问题很可能是因为您的 git 缓冲区太低。

You will need to increase Git's HTTP buffer by setting.

您需要通过设置来增加 Git 的 HTTP 缓冲区。

git config --global http.postBuffer 2M