Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode and Git installation on MacOSX Mountain Lion

I just installed Mountain Lion and Xcode, so under /Applications/Xcode.app/Contents/Developer/usr/bin I found the Git directory

But when I use Git commands in the shell terminal it returns error of command not found. Any suggestions? I have many Git repos on my mac, so I would like to reuse them without checking them out again :/

like image 219
itsme Avatar asked Jan 16 '23 08:01

itsme


1 Answers

You need to install the command line tools (see Xcode -> Preferences -> Downloads) or you can download it from the Apple Developer Download site.

like image 178
trojanfoe Avatar answered Jan 21 '23 21:01

trojanfoe