Problems installing Git with Homebrew

rsturim picture rsturim · Sep 11, 2012 · Viewed 28.3k times · Source

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!

Answer

ctcherry picture ctcherry · Sep 11, 2012

All you should need to do is:

brew link git