使用HomeBrew,例如:$ brew link cmake,会出现一下错误。
Could not symlink share/man/man7/cmake-buildsystem.7 /usr/local/share/man/man7 is not writable.
解决方法:
先执行 $ sudo chown -R $(whoami):admin /usr/local/sha…
在macbook上使用brew安装软件时,可能会遇到问题,报错如下:
fatal: not in a git directory
Error: Command failed with exit 128: git 使用brew -v,仔细看,可以发现有两个fatal(致命错误)提示: 解决方案:…