Using git from the command line after installing Github for Mac

后端 未结 3 1081
青春惊慌失措
青春惊慌失措 2021-01-16 12:54

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 opti

3条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-16 13:30

    Git can be installed in a number of ways on OSX:

    1) If you have MacPorts installed, you can install it through that by opening up a terminal and doing:

    sudo port install git
    

    2) Download it from the official site & mount & install the .dmg: http://git-scm.com/download/mac

提交回复
热议问题