I installed Github for Windows which comes with the Git command line client, and whenever I forget a switch or something and want to use --help
, instead of dumping to the console it's launching a browser. Is there a way to ask Git to dump the help to the console (as it does in most Unixen by default) instead of launching a browser?
For Linux systems you could set this with git config --global help.format <web|man|info>
. Unfortunately the man pages are not part of the Git for Windows bundle so only 'web' works.
In windows
git <command> -h
will write help to the terminal output
git <command> --help
will pop up a browser window
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With