Java OpenResty Spring Spring Boot MySQL Redis MongoDB PostgreSQL Linux Android Nginx 面试 小程序 Arthas JVM AQS juc Kubernetes Docker 诊断工具

macOS Homebrew 报错 not in a git directory

macOS Homebrew 大约 875 字


fatal: not in a git directory
Error: Command failed with exit 128: git


使用brew doctor命令,诊断错误。

brew doctor


brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Homebrew/homebrew-cask was not tapped properly! Run:
  rm -rf "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask"
  brew tap homebrew/cask

Warning: Homebrew/homebrew-core was not tapped properly! Run:
  rm -rf "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core"
  brew tap homebrew/core

Warning: Broken symlinks were found. Remove them with `brew cleanup`:


使用brew cleanup直接清理无效文件夹。

brew cleanup
阅读 68 · 发布于 2023-05-21

————        END        ————

Give me a Star, Thanks:)


随便看看 换一批