解决Unable to rewind rpc post data

在使用git提交项目到服务器上时,会提示Unable to rewind rpc post data – try increasing http.postBuffer
[php]
git commit -m "commit"
git push origin
[/php]
在提交的项目内容都很小时没有问题,如果文件较大,则会提交失败,提示
[php]
Unable to rewind rpc post data – try increasing http.postBuffer
[/php]
需要将http.postBuffer设置成适合的值
[php]
git config –global http.postBuffer 20480000
git config –list
[/php]
再次提交即可成功。

Comments are closed.