Git push 时报错 HTTP 500 curl 22

2024-10-11 09:03其它

设置全局Git buffer size单文件最大限制

git config --global http.postBuffer 157286400

或 设置单个仓库Git buffer size单文件最大限制

cd your_repo
git config http.postBuffer 157286400

参考地址:https://stackoverflow.com/questions/44780221/git-push-failing-http-500-curl-22-the-requested-url-returned-error-500-internal