brew update 失敗
brew update を行ったところ 下記が出てUpdateできなかった。
✗ brew update BUG: remote-curl.c:1342: The entire rpc->buf should be larger than LARGE_PACKET_MAX fatal: expected flush after ref listing [ghq "CODECOMMIT-URL"] BUG: remote-curl.c:1342: The entire rpc->buf should be larger than LARGE_PACKET_MAX fatal: expected flush after ref listing BUG: remote-curl.c:1342: The entire rpc->buf should be larger than LARGE_PACKET_MAX fatal: expected flush after ref listing BUG: remote-curl.c:1342: The entire rpc->buf should be larger than LARGE_PACKET_MAX fatal: expected flush after ref listing BUG: remote-curl.c:1342: The entire rpc->buf should be larger than LARGE_PACKET_MAX fatal: expected flush after ref listing Error: Fetching /usr/local/Homebrew failed! Fetching /usr/local/Homebrew/Library/Taps/caskroom/homebrew-fonts failed! Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask failed! Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core failed! Fetching /usr/local/Homebrew/Library/Taps/nnao45/homebrew-pexpo failed!
brewを削除して再インストールしたらできたが brew installしているとまたUpdateができなくなった。 原因は
brew instsall git
でinstallすると .gitconfigの中の http.postBufferが問題ぽい
[http] postBuffer = 100
なぜこの設定をしたかが忘れてしまったが
[http] postBuffer = 157286400
に変更