使用git提交比較大的文件的時候可能會出現這個錯誤git
error: RPC failed; result=22, HTTP code = 411
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-datepost
這樣的話首先改一下git的傳輸字節限制spa
git config http.postBuffer 524288000code