作者:孤独秀风_328 | 来源:互联网 | 2022-12-27 05:40
尝试推送文件时,GIT出现问题,这是发生的情况:
$ git push -u origin dev
Counting objects: 586, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (506/506), done.
Writing objects: 100% (586/586), 36.81 MiB | 1.58 MiB/s, done.
Total 586 (delta 267), reused 40 (delta 29)
error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
我已经做完了:
git config http.postBuffer 524288000
,
所以这不能解决我的难题!我发现解决方案是修改nginx配置,但未使用nginx ..我正在Windows 10上工作,但看不到应该在哪里增加client_max_body_size
!! 的值!您对Windows上的此问题有任何想法吗?