3 ms·
Chiming in with tangentially related TIL for Git help (on Windows): git <command> -h is usually what one needs: it prints abbreviated description with ava
by myfonj 3y ago
Chiming in with tangentially related TIL for Git help (on Windows):
git <command> -h
is usually what one needs: it prints abbreviated description with available parameters right into terminal.
git <command> --help
git help <command>
on the other hand opens local html help pages (there is no other option in Windows, or in other words, I haven't got `man` to work there). Opening web browser with local html page might feel like overkill for some (most) situations. (Don't get me wrong, html help pages are also neat, just most of the times I am looking just for parameters and brief description, so switching to different window is unwanted distraction.)
For me this is the only known instance where single-dash single-char argument (-h) does something different than its double-dash verbose counterpart (--help).