如下报错

  homebrew-core is a shallow clone.
  homebrew-cask is a shallow clone.

解决方法

输入如下命令

git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch --unshallow

升级正常

发表评论

您的电子邮箱地址不会被公开。

评论(2)