error: unable to rewind rpc post data - try increasing http.postBuffer
大概意思是http.postBuffer太小,需要设置更大的值,应该是我们项目中用到的第三方静态库有400多MB大小的单个.a文件。
谷歌查了相关资料,在终端执行
git config --global http.postBuffer 524288000命令,将http.postBuffer设置为500MB大小后,可以正常push操作了。
也可以通过Source Tree
唤起终端运行命令:
git config http.postBuffer 524288000
一些简单的命令
git clone
git commit -m "注释"
git pull
git push