Documentation

Author

Marie-Hélène Burle

Git comes with internal documentation. This section covers how to access it.

Man pages

git <command> --help
git help <command>
man git-<command>

Example:

git commit --help
git help commit
man git-commit
Useful keybindings when you are in the pager
SPACE      scroll one screen down
b          scroll one screen up
q          quit

Command options

git <command> -h

Example:

git commit -h