1、Mac更新完系统后使用homebrew就报错
Error:
homebrew-core is a shallow clone.
To `brew update`, first run:
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
删除homebrew-core后更新即可