【发布时间】:2015-01-19 03:35:22
【问题描述】:
通过 Homebrew 设置 git 时遇到问题。我已经运行 brew update 和 brew doctor 并且一直遇到相同的消息:
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
git
$ brew link git
Linking /usr/local/Cellar/git/2.2.2... Error: File exists - /usr/local/share/man/man3
我尝试了一些建议,例如 brew link --overwrite git 并检查了我的路径,但仍然遇到同样的问题。现在我确实有可能造成冲突的 Github 应用程序(因为已被卸载)。有些人建议下载第三方应用程序,例如 AppCleaner,但如果有其他可行的选择,我宁愿不这样做。
【问题讨论】:
-
你能把所有的错误都放在问题里吗
标签: git terminal homebrew osx-yosemite github-for-mac