在执行git push时,我收到此错误:
Username for 'https://github.com': Newbie Password for 'https://Newbie@github.com': 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 push错误:RPC失败; result = 56,HTTP代码= 0
请有人帮我解决这个问题吗?
将Git缓冲区大小增加到您的仓库最大的单个文件大小:
git config --global http.postBuffer 157286400
此错误是由我的公司防火墙引起的。
请看这里:https://flyingtomoon.com/2011/04/12/git-push-is-failed-due-to-rpc-failure-result56/
问题很可能是因为你的git缓冲区太低了.
您需要通过将git config var"http.postBuffer"设置为524288000来增加Git的HTTP缓冲区.
git config http.postBuffer 524288000