Git:RPC failed; HTTP 413 curl 22 The requested URL returned error: 413

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

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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章