Problems installing Git with Homebrew [duplicate]

蹲街弑〆低调 提交于 2019-12-20 09:30:34

问题


Possible Duplicate:
Problems Upgrading Git with Homebrew

I'm very close here -- I think I just need to create a symbolic link, but I'm not sure how (and why this is need). I'm on OSX Lion btw.

I've downloaded and installed git using this command.

brew install git

the response is

git-1.7.12 already installed, it's just not linked

How do I do this?

when I run

which git
>/usr/bin/git

when I run

git --version
>git version 1.7.4.4

My paths are fine

export PATH="/usr/local/bin:$PATH"

Again -- all I really need to know is how to set up the sym link. Thanks!


回答1:


All you should need to do is:

brew link git


来源:https://stackoverflow.com/questions/12362027/problems-installing-git-with-homebrew

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!