brew -v
![](https://www.icode9.com/i/l/?n=22&i=blog/1043600/202206/1043600-20220615114416732-1419414813.png)
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
标签:opt,git,--,safe,failed,directory,128,homebrew
来源: https://www.cnblogs.com/rxbook/p/16377953.html