在终端运行命令:brew update【回车】,报错如下:
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Error: Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core failed!
这是git报错,在终端运行命令:git config http.postBuffer 524288000,然后再brew update,时间有点长,最后成功更新。