LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

git-help

Display documentation for Git commands

TLDR

Get help for command
$ git help [commit]
copy
Open in web browser
$ git help --web [rebase]
copy
Show all commands
$ git help --all
copy
Show guides
$ git help --guides
copy
Info format
$ git help -i [log]
copy

SYNOPSIS

git help [options] [command|guide]

DESCRIPTION

git help displays documentation for Git commands and conceptual guides. It opens manual pages by default, with options for web browser or info format display.
The command provides access to both command documentation and conceptual guides covering topics like workflows, attributes, and revision specifications. Git includes extensive built-in documentation accessible through this interface.

PARAMETERS

COMMAND

Git command to get help for.
GUIDE
Git guide name.
--all, -a
List all commands.
--guides, -g
List available guides.
--web, -w
Open in browser.
--man, -m
Use man format (default).
--info, -i
Use info format.
--help
Display help information.

CAVEATS

Man pages may need separate installation. Web format requires browser. Some guides may be missing.

HISTORY

git help is a core Git command providing documentation access, replacing direct man page invocation for git commands.

SEE ALSO

git(1), man(1)

Copied to clipboard
Kai