10
3
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.
Have you verified that git is actually in /usr/local/bin? – Joe Bane – 2012-11-03T01:45:02.217
yep.
ls /usr/local/bin
showsgit
is there. Brew also confirms that it's installed. I even ran the git uninstaller (both bybrew uninstall
and using the one that comes with the official git download) and redidbrew install git
. I keep gettingwhich git = = /usr/bin/git"
. – o_o_o-- – 2012-11-03T02:00:56.1002Run
which -a git
to see if it's finding it at all. – Joe Bane – 2012-11-03T02:04:16.483