23
Sep
Learn How to enable GIT after updating Mountain Lion Mac OS X
After upgrading to OS X Lion and after that cannot initialize Git where it used to work:
$ git add -bash: git: command not found
The solution is bit easy.
The default install location is /usr/local so add this to your ~/.bash_profile
export PATH=$PATH:/usr/local/git/bin/
then run
source ~/.bash_profile
in Terminal