解决方法
cd /usr/local/Homebrew/Library/Taps/homebrew
rm -rf homebrew-core
rm -rf homebrew-cask
brew upgrade
参考
Error: homebrew-core is a shallow clone.
解决方法
cd /usr/local/Homebrew/Library/Taps/homebrew
rm -rf homebrew-core
rm -rf homebrew-cask
brew upgrade
参考
Error: homebrew-core is a shallow clone.