MAC系統(tǒng)homebrew執(zhí)行brew update報(bào)錯(cuò)error: homebrew-core is a shallow clone.
解決辦法:
1.
cd /usr/local/Homebrew/Library/Taps/homebrew
2.
rm -rf homebrew-core
然后更新:
3.
brew upgrade
升級指令:
brew update # 更新 Homebrew的信息
brew outdated # 看一下哪些軟件可以升級
brew upgrade <xxx> # 如果不是所有的都要升級帜矾,那就這樣升級指定的`
brew upgrade # 全部升級