Reputation: 32645
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?
Upvotes: 5
Views: 1506
Reputation: 13886
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.
Upvotes: 7