git gui not working after installing in Mac (e.g. Mountain Lion)

前端 未结 9 750
野趣味
野趣味 2021-01-30 02:07

When I ran git gui, I got this:

$ git gui
git: \'gui\' is not a git command. See \'git --help\'.

Did you mean one of these?
    grep
    init
    p         


        
9条回答
  •  梦如初夏
    2021-01-30 02:56

    While I am not sure how to open git gui from the terminal in Mountain Lion it is possible to use it using OpenInGitGUI which opens git gui from Finder. The download and instructions are available here.

    This may not be quite as convenient as typing 'git gui' in the terminal but it is pretty close. Basically all you need to do is type 'open .' to open the current directory in Finder and then click the Git button to open up git gui.

提交回复
热议问题