git push
时出现的错误:RPC failed; result=22, HTTP code = 411 fatal: The remote end hung up unexpectedly
git
error: RPC failed; result=22, HTTP code = 411 fatal: The remote end hung up unexpectedly Everything up-to-date
查了一下就是因为缘由:默认 Git
设置 http post
的缓存为 1MB
,上述代码将其设置为 500MB
~缓存
这样的话首先改一下Git
的传输字节限制~bash
$ git config http.postBuffer 524288000