Mac homebrew报错Error: homebrew-core is a shallow clone.

解决方法

删除homebrew-core后更新即可

cd /usr/local/Homebrew/Library/Taps/homebrew
rm -rf homebrew-core
brew upgrade
posted @ 2021-09-16 16:15  多弗朗强哥  阅读(446)  评论(0编辑  收藏  举报