I downloaded and installed Git 1.8.4.2 from this link: http://git-scm.com/downloads. However, when I run git --version
from the Terminal I get:
[~/workspace/ruby]: git --version
git version 1.7.4.4
I've tried restarting the terminal and my computer. I then tried using the info at https://code.google.com/p/git-osx-installer/wiki/Uninstall. I did the following in the terminal from within /usr:
sudo rm -rf /usr/local/git
sudo rm /etc/paths.d/git
sudo rm /etc/manpaths.d/git
I then ran the new git .dmg file again but am still getting 1.7.4.4 when I run git --version
. I suppose there's something going on here with the Mac filesystem that I don't understand. Any help would be greatly appreciated!