我在關注Luke Jones' article on setting up a local server,我目前正試圖在小牛上用git設置自制軟件。在安裝自制軟件之前,我已經安裝了git。我有,似乎類似於this question一個問題,但是當我試圖運行brew link git
我收到以下錯誤:將git鏈接到自制程序時出錯
Error: Could not symlink file: /usr/local/Cellar/git/1.8.5.1/share/git-core/templates/info/exclude
Target /usr/local/share/git-core/templates/info/exclude already exists. You may need to delete it.
To force the link and overwrite all other conflicting files, do:
brew link --overwrite formula_name
To list all files that would be deleted:
brew link --overwrite --dry-run formula_name
我/etc/paths
:
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
which git
回報/usr/bin/git
which brew
回報/usr/local/bin/brew
不是確定問題是什麼,因爲我仍然不擅長尋找這樣的事情。任何人都知道下一步要採取?
謝謝,謝謝,謝謝。 – bafromca