I recently installed git on my computer (OSX 10.10.1) and when I run git I get git: error: unable to find utility "git", not a developer tool or in PATH
. So I checked, found that I didn't have the directory that git was in in my PATH
so I added it in. I checked and my PATH
has it. My PATH
is
/Library/Frameworks/Python.framework/Versions/3.4/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/Users/Jesse/SDKs/android-sdk-macosx/platform-tools:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/Jesse/SDKs/android-sdk-macosx/tools/android:/opt/X11/bin:/usr/local/git/bin
You'll notice that the last one is /usr/local/git/bin
. If I cd to /usr/local/git/bin and run ./git
then git runs just fine. I can't figure out what might be causing this. I tried restarting my computer too just in case without any change.
sudo xcode-select -p
path?sudo xcodebuild -license