homebrew安装git出错 /usr/local/share/man/man3

https://github.com/Homebrew/legacy-homebrew/issues/19457

错误提示:

/usr/local/share/man/man3/libpngpf.3 may already exist.

/usr/local/share/man/man3 may not be writable.

sudo chown -R root:wheel /usr/local

根据command line的提示:

rm '/usr/local/bin/git'  

brew link --overwrite git

brew link --overwrite --dry-run git

你可能感兴趣的:(homebrew安装git出错 /usr/local/share/man/man3)