Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problems installing Git with Homebrew [duplicate]

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!

like image 957
rsturim Avatar asked Sep 11 '12 02:09

rsturim


People also ask

How do I reinstall Git on Windows?

To reinstall: Go to https://git-scm.com/download/win and the installer will download for you. Click on the installer, and enter the custom installation directory that you wanted to install it to ( C:\Users\MY_UNAME ).


1 Answers

All you should need to do is:

brew link git 
like image 185
ctcherry Avatar answered Sep 23 '22 21:09

ctcherry