git push で「error: RPC failed; result=22, HTTP code = 0」が発生
事象
git push 時に下記のエラーが発生する。
fatal: The remote end hung up unexpectedly fatal: The remote end hung up unexpectedly error: RPC failed; result=22, HTTP code = 0 Everything up-to-date
原因
Content-Length の指定がないため、サーバ側から弾かれている。
対応
下記のコマンドを実施し、postBuffer の値を変更する。 50MB = 50 * 1024 * 1024 = 52428800
git config http.postBuffer 52428800