I have previously installed Git(1.9.3) and I want to upgrade it to the latest version(2.0.1). I uninstalled the previous install by running the uninstall.sh first and then git.pkg. However, when I run git --version, it still shows me git version 1.9.3 (Apple Git-50).
So I did this:
$ which git /usr/bin/git $ echo $PATH ...:/usr/local/git/bin Obviouslly, Git in /usr/local/git/bin is the latest version I want.
So how can I remove the path of the older version and tell Mac OSX where to find the right version?
Thanks!