git push时出现 error:RPC failed 的解决
2015-12-06 本文已影响118人
burtliu
使用git push 提交代码时出现以下错误提示:
![](https://img.haomeiwen.com/i1302178/d4679ac4e697a320.png)
问题最可能的原因是git缓存容量过低,通过以下命令提高git的HTTP缓存即可:
//全局修改 扩容至2M
git config --global http.postBuffer 2M
// 仅修改当前工程 扩容至500M
git config http.postBuffer 524288000
使用git push 提交代码时出现以下错误提示:
问题最可能的原因是git缓存容量过低,通过以下命令提高git的HTTP缓存即可:
//全局修改 扩容至2M
git config --global http.postBuffer 2M
// 仅修改当前工程 扩容至500M
git config http.postBuffer 524288000