Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error running git"Cannot run program "git": error=2 [duplicate]

http://www.subirimagenes.net/i/131230100130372529.png

I have this error on my Android Studio running with Mac OS 10.8.3, I've installed the github client but is not necesary...

Any help?

Thanks

like image 769
David91 Avatar asked Dec 12 '22 08:12

David91


2 Answers

Within terminal you can find your git install directory with:

git --exec-path
like image 186
Tr0yJ Avatar answered Dec 13 '22 23:12

Tr0yJ


Check the path registered in Settings -> Version Control -> Git, in text box next to "Path to Git Executable".

It should reference a local installation of git.
If the path mentioned there doesn't exist, that would explain the error message.

like image 31
VonC Avatar answered Dec 13 '22 23:12

VonC