homebrew-core is a shallow clone

如下报错

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

图片[1]-homebrew-core 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]-homebrew-core is a shallow clone-李楠的主页

升级正常

图片[3]-homebrew-core is a shallow clone-李楠的主页

© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享
评论 共2条
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片
    • 头像Mermin0