Search code examples
macosgitgithubgithub-for-mac

Using git from the command line after installing Github for Mac


I installed Github for Mac, which works fine, but I can't run git commands from Terminal. Do I have another git that needs to be installed? Or do I have to enable some optio within Github for Mac?


Solution

  • Starting May 2013 ("Installing Git from GitHub for Mac"), you don't have to install another git distribution: everything is included.

    you can now easily install Git for use on the command line, without needing to download any separate packages.
    And whenever we update the version of Git included with GitHub for Mac, you'll get the changes automatically – no work required on your part!

    you may notice some changes to the Preferences window.
    On the newly renamed "Advanced" tab, simply click "Install Command Line Tools".

    You'll be prompted for an administrator password so that Git can be installed into /usr/local/bin, and then you should very shortly see that it succeeded:

    enter image description here