How can I configure git help to use Firefox?

后端 未结 2 727
南笙
南笙 2020-12-11 08:00

I was using Git on a Windows box and the git bash always used the web version for help. I really liked this and I am trying to do the same on my mac.

I ran:

2条回答
  •  不知归路
    2020-12-11 08:39

    I'm not an OS X user, but I suppose that the shell doesn't let you pass a multi-word argument without escaping it.

    Edit directly your ~/.gitconfig file and insert the following [web] section:

    [web]
        browser = open -a Firefox.app 
    

提交回复
热议问题