执行brew -v 命令看看是不是有两个提示,你的 homebrew-core和homebrew-cask目录 被git认为不是一个安全的目录,需要手动添加
git config --global --add safe.directory 你的homebrew-core路径
git config --global --add safe.directory 你的homebrew-cask路径
执行brew -v 命令看看是不是有两个提示,你的 homebrew-core和homebrew-cask目录 被git认为不是一个安全的目录,需要手动添加
git config --global --add safe.directory 你的homebrew-core路径
git config --global --add safe.directory 你的homebrew-cask路径
本文标题:使用homebrew 的时候失败fatal: not in a
本文链接:https://www.haomeiwen.com/subject/rvlimrtx.html
网友评论