问题描述
在执行 git push 时,我收到此错误:
While doing git push, I receive this error:
Username for 'https://github.com': Newbie
Password for 'https://[email protected]':
Counting objects: 11507, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8210/8210), done.
Writing objects: 100% (11506/11506), 21.75 MiB | 0 bytes/s, done.
Total 11506 (delta 2213), reused 11504 (delta 2211)
efrror: RPC failed; result=56, HTTP code = 200
atal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
我也尝试过:git config http.postBuffer 524288000,但仍然错误..还尝试过: git config --global http.postBuffer 2M 参考 git 推送错误:RPC 失败;结果=56,HTTP 代码 = 0
I also tried doing: git config http.postBuffer 524288000, but still error..Also tried: git config --global http.postBuffer 2M by referring on git push error: RPC failed; result=56, HTTP code = 0
请问有人能帮我解决这个问题吗?
Please can anyone help me out with this?
推荐答案
看这里:https://flyingtomoon.com/2011/04/12/git-push-is-failed-due-to-rpc-failure-result56/
问题很可能是因为您的 git 缓冲区太低.
The problem is most likely because your git buffer is too low.
您需要通过将 git 配置变量http.postBuffer"设置为 524288000 来增加 Git 的 HTTP 缓冲区.
You will need to increase Git’s HTTP buffer by setting the git config var "http.postBuffer" to 524288000.
git config http.postBuffer 524288000
这篇关于Git推送错误:RPC失败;result=56, HTTP code = 200 fatal: 远程端意外挂断了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!