1.git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
2.brew update
rm -rf /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
1.git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
2.brew update
rm -rf /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow