Git推送失败HTTP 500 curl 22请求的URL返回错误:500 Internal Server Error

问题描述:

我刚刚在Windows计算机上使用位桶设置了git.

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

Git pull正常工作,因为git push失败并出现以下错误.

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.

谢谢

将Git缓冲区的大小增加到存储库的最大单个文件大小:

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

git config --global http.postBuffer 157286400