I’ve got git installed on my mac and either forgot or decided not to install the local docs. On my windows install however, when I use git help command it actually opens the corresponding documentation on kernel.org. Can this be configured for my mac install as well? If so how?
I’ve got git installed on my mac and either forgot or decided not to
Share
You’ll need to set the
help.formatvariable (git config --global help.format web) or use the-woption with the help command:Here’s the portion on
-was well:I can’t test it right now, but I’m fairly sure that on Windows, using the web help actually uses a local copy of the HTML docs (not from kernel.org as you said); this is good because those are the docs that correspond with your version of git, and you won’t mistakenly read docs for a different version. Regardless, using
-won OSX 10.6 for me loads local HTML docs as well.