Question

I have OS X Lion, and it comes with Git version 1.7.7.5 (Apple Git-26).

I then used Homebrew to install Git 1.7.10.1, and everything went fine.

But then when I did git --version, it still showed Git version 1.7.7.5.

Does anyone have this issue?

Was it helpful?

Solution

Try changing your path order on your .bashrc and put /usr/local/bin (which Brew uses) before /usr/bin (which has the default git). It should do the trick.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top