git本地push代码报错 error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 Internal Se

➜  aposoftsab.com git:(master) ✗ git push
Enumerating objects: 37, done.
Counting objects: 100% (37/37), done.
Delta compression using up to 16 threads
Compressing objects: 100% (21/21), done.
error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 Internal Server Error
fatal: the remote end hung up unexpectedly
Writing objects: 100% (21/21), 13.27 MiB | 5.65 MiB/s, done.
Total 21 (delta 12), reused 0 (delta 0)
fatal: the remote end hung up unexpectedly
Everything up-to-date

解决方法:

客户端本地配置

git config --global http.postBuffer 157286400

版权声明:本文为zhongliang415原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。