解决Unable to rewind rpc post data

在使用git提交项目到服务器上时,会提示Unable to rewind rpc post data – try increasing http.postBuffer

git commit -m "commit"
git push origin

在提交的项目内容都很小时没有问题,如果文件较大,则会提交失败,提示

Unable to rewind rpc post data - try increasing http.postBuffer

需要将http.postBuffer设置成适合的值

git config --global http.postBuffer 20480000
git config --list

再次提交即可成功。

Comments are closed.