Mountain Lion, Git “Command Not Found” (2 min fix)

I found this while trying to figure out why I’m getting the error.

1. open your ~/.bash_profile,

if you use textmate it would be :
$ sudo mate ~/.bash_profile

2. add this line to the file:
export PATH=$PATH:/usr/local/git/bin/

3. Save & close the file and type on the terminal:
$ source ~/.bash_profile

*All* the credits go to these guys:

http://www.hongkiat.com/blog/mountain-lion-git-fix/
http://stackoverflow.com/questions/6810059/git-on-mac-os-x-lion

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s