2016年2月7日日曜日

gitのpushに失敗する

これまで特に問題がなかったが、突然以下のエラーが出てコミットできない。

fatal: The remote end hung up unexpectedly

サーバ側のログを見るとPOSTリクエストは届いている。
pushするサイズが10MB近くあるのでその辺りが関係してそう。

http://shinriyo.hateblo.jp/entry/2015/05/07/git%E3%81%A7%E3%81%AE_fatal%3A_The_remote_end_hung_up_unexpectedly

より、

$ git config http.postBuffer 524288000

とすることで解決。