首页 > 其他分享 >[BREW]Brew Error

[BREW]Brew Error

时间:2022-09-18 00:28:59浏览次数:76  
标签:Taps git -- Brew directory Error BREW homebrew

遇到一个很奇怪的问题:

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

相关文章