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

前端 未结 9 762
野趣味
野趣味 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:50

    Adding to the path worked for me.

    I just added this line to my ~/.profile and git gui is alive once again. &(%ing mountain lion. export PATH=PATH:/usr/local/git/libexec/git-core

提交回复
热议问题