Genadinik
Genadinik

Reputation: 18629

After installing Xcode, can't get git to work on command line

I just downloaded Xcode 5.0.1 which I thought comes with git. But when I do a git command on the command line, I get a file not found.

Would anyone know how I can either add and commit through Xcode, or get the git command to work on my command line?

Upvotes: 0

Views: 114

Answers (1)

trojanfoe
trojanfoe

Reputation: 122381

Install the command line tools, which you can do from the command line itself:

$ xcode-select --install

Upvotes: 1

Related Questions