2.4 Accessing Git’s Built-in Help
Git has an extensive user manual that is available from the command line and online.[16] From the command line, you can type this:
|
prompt> git help <command> |
Just replace <command> with the command you
want help on, and Git displays the user manual entry for that command.
The documentation is not installed by default if you build from source.
Some package managers distribute it as a separate git-doc
package.
If you’re building from source, you need to call the doc
and install-doc targets when running
make. Git requires AsciiDoc[17] in order to convert the documentation from plain
text into the manual form.
Don’t worry if you have trouble installing the documentation; you can always access ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access