Man took forever to figure out...but now with Xcode 4 there is a default Git installation provided that places a copy of Git in the /usr/bin and guess what? /etc/paths looks for Git in this order
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
...when using Git through the terminal. "What's the big deal?" ....grabbing the latest Git from (git-scm.org) and install it the path is /usr/local/bin. You'll never hit your preferred git-scm installed version if you don't change up the order of the paths* (*caution with this one) or maybe a better solution, at least the one I found then stopped searching for when I got a hit on good 'ol github http://goo.gl/cIQFT
Another solution is to wait for the latest updates for Xcode 4 from Apple.
No comments:
Post a Comment