Search code examples
xcodegitosx-mavericksgithub-for-mac

Git and Github Mac App incompatibilities?


After I've installed Github Mac app on my macbook (running OSX Mavericks 10.9.2), I've tried to type git on the terminal, and a message appears and say:

xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.

I've also already installed the "Command Line Tools" from Github Mac app preferences. So, what is the problem? Why I can not use the "git" terminal commands and Github Mac client app together? I've search over the web for solutions, but anyone resolves my problem.


Solution

  • Try running xcode-select --install.

    As far as I understand, the command line tools are compilers and other tools needed for development.

    For background: prior to Xcode 5, you used to have to download Xcode and within Xcode's preferences choose 'Install Command Line Tools' (or use the command I listed above).

    Edit: Corrects the install flag syntax