Command
git help
Shows Git help. A topic can launch an installed documentation viewer; availability depends on installation. For init, git init -h provides short usage.
Formal Syntax & Structure
git syntaxgit
git help [command]Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| command | string | Command or documentation topic to inspect. |
Working Example
Example Snippetgit
git helpgit init -h