1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 15:02:09 +02:00
tldr/pages/common/gh-help.md

36 lines
670 B
Markdown

# gh help
> Display help about the GitHub CLI command.
> More information: <https://cli.github.com/manual/gh_help>.
- Display general help:
`gh help`
- Display help for the `gh help` subcommand:
`gh help --help`
- Display help about environment variables that can be used with `gh`:
`gh help environment`
- Display a markdown reference of all `gh` commands:
`gh help reference`
- Display help about formatting JSON output from `gh` using `jq`:
`gh help formatting`
- Display help about using `gh` with MinTTY:
`gh help mintty`
- Display help for a subcommand:
`gh help {{subcommand}}`
- Display help for a subcommand action:
`gh help {{pr}} {{create}}`