解决RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large问题

时间:2017-10-30 19:11:55   收藏:0   阅读:8885

使用SourceTree客户端,向远程仓库推送时:RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large错误!

百度一下:

第一个解决办法是:

在git bash中执行:git config http.postBuffer 524288000

成功后,再次提交,ok。

有些博客,说这个办法不灵,我试可以。

另外,提一下,如果在git bash中执行目录,出现:fatal: Not a git repository (or any of the parent directories): .git

解决办法是在git bash中执行:git init

技术分享

感谢:http://blog.csdn.net/s1674521/article/details/71844169

第二个解决办法是:

来自http://www.cnblogs.com/lihaiping/p/6021813.html的博客,是使用ssl

 

目前,第一种我试了,可以;第二种,试了,没成功。

 

原文:http://www.cnblogs.com/feiyujun/p/7755764.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!