diff --git a/pages/common/gh-help.md b/pages/common/gh-help.md new file mode 100644 index 0000000000..1c46e351c8 --- /dev/null +++ b/pages/common/gh-help.md @@ -0,0 +1,28 @@ +# gh help + +> Display help about the GitHub CLI command. +> More information: . + +- 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 for a subcommand: + +`gh help {{subcommand}}` + +- Display help for a subcommand action: + +`gh help {{pr}} {{create}}`