解決RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large問題


使用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

 

目前,第一種我試了,可以;第二種,試了,沒成功。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM