在执行 git Push 时,我收到此错误:
Username for 'https://github.com': Newbie
Password for 'https://[email protected] /cdn-cgi/l/email-protection':
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 https://stackoverflow.com/questions/22005259/git-push-error-rpc-failed-result-56-http-code-0
请问有人可以帮我解决这个问题吗?
看这里:https://flyingtomoon.com/2011/04/12/git-push-is-failed-due-to-rpc-failure-result56/ 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
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)