Counting objects: 80, done. Delta compression using up to 4 threads. Compressing objects: 100% (75/75), done. error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large fatal: The remote end hung up unexpectedly Writing objects: 100% (80/80), 42.70 MiB | 12.01 MiB/s, done. Total 80 (delta 47), reused 0 (delta 0) fatal: The remote end hung up unexpectedly Everything up-to-date
首先打開命令行全局配置githtml
git config –global http.postBuffer 524288000
結果無效!nginx
以前用的一直好好的而後就成這樣啦,回想一下git所在服務器原來是直接訪問的後來改爲nginx轉發後訪問啦,因而想多是nginx配置有問題
git
因而網上查可能的緣由,因而找到解決方法,打開nginx.conf中的http配置段中加入bash
client_max_body_size 100m;
重啓nginx後問題消失服務器
轉自:https://www.zhaokeli.com/article/8427.htmlcurl