遇到一个很奇怪的问题:
fatal: not in a git directory
Error: Command failed with exit 128: git
解决办法:
brew -v
将回显再次输入:
git config --global --add safe.directory /opt/homebrew/Library/Taps/homebrew/homebrew-core
git config --global --add safe.directory /opt/homebrew/Library/Taps/homebrew/homebrew-cask
标签:Taps,git,--,Brew,directory,Error,BREW,homebrew From: https://www.cnblogs.com/MoKinLi/p/16704033.html