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

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

    2020

    brew install git
    brew install git-gui
    git config --global --add alias.gui '!sh -c '/usr/local/opt/git/libexec/git-core/git-gui''
    

    Now, enjoy:

    git gui
    

提交回复
热议问题