mac M1通过homebrew安装python3报错Error: Command failed with exit 128: git
作者:互联网
fatal: not in a git directory
Error: Command failed with exit 128: git
只需要运行
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,--,failed,add,Command,homebrew,报错 来源: https://www.cnblogs.com/remyuu/p/16411942.html