the-happy-hippo the-happy-hippo - 4 months ago 32
Git Question

git help in Windows command prompt

The

git help
command on Windows (
msysgit
distribution) spawns web browser each time I run it. I tried
git help -m
which reports
"No manual entry for ..."
and
git help -i
which says
"info: Terminal type 'msys' is not smart enough to run Info."
The same happens in
bash
under
Cygwin
.

Is there any sensible way to get light-weight help in
cmd
terminal?

Answer Source

No, even though an alternative, based on a 'cat' of the htlp txt files, is suggested in "how do I get git to show command-line help in windows?".

There man.<tool>.cmd config introduced in 2008, allows to set a custom command, but msys shell isn't shipped with man.exe.