OS X (or Xcode) comes bundled with git 1.7.something, but after brew install git (1.8.0), which git keeps returning the old /usr/bin/git.
This is what I get when I echo $PATH right now:
/usr/local/bin:/usr/local/sbin:~/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin
Shouldn't Homebrew stuff take precedence?
Also, I've no idea where that usr/local/git/bin comes from at the end.
ls /usr/local/binshowsgitis there. Brew also confirms that it's installed. I even ran the git uninstaller (both bybrew uninstalland using the one that comes with the official git download) and redidbrew install git. I keep gettingwhich git = = /usr/bin/git". – Noam Gagliardi Nov 3 '12 at 2:00which -a gitto see if it's finding it at all. – Joe Nov 3 '12 at 2:04