Git push failing HTTP 500 curl 22 The requested URL returned error: 500 Internal Server Error

一笑奈何 提交于 2019-11-30 02:37:26

问题


I have just setup git with bit bucket for my windows machine.

Git pull works properly, where as git push fails with below error.

$ git push
Counting objects: 10, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (10/10), done.
Writing objects: 100% (10/10), 174.03 KiB | 0 bytes/s, done.
Total 10 (delta 6), reused 0 (delta 0)
error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 Internal Server Error
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

Any help is of great use.

Thanks


回答1:


Increase the Git buffer size to the largest individual file size of your repo:

git config --global http.postBuffer 157286400



回答2:


has I looked closely, for me it was a no space left on device error...my server hard drive has no space to write any files !



来源:https://stackoverflow.com/questions/44780221/git-push-failing-http-500-curl-22-the-requested-url-returned-error-500-internal

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!