I downloaded Git source and installed it in a non-standard path. All the Git options have a -h
option but the documentation listed there is very terse and many options are missing. I'd like the full documentation but am unable to find it. When I run git help log
or git log --help
I get the following error:
No manual entry for git-log
I've tried adding every path imaginable to PATH
and MANPATH
but it does no good, I still get these pesky errors. How can I get git <option> --help
to work?
Git's manpages are (for some reason) a completely separate download from the actual source code, and are thus not installed when compiling and installing from source.
You can find the manpages for each release in git-core's downloads list.
On Ubuntu, you can install manual pages with the following command:
sudo apt-get install git-man
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