LinuxCommandLibrary

gh-reference

Display comprehensive GitHub CLI command reference

TLDR

View full reference

$ gh reference
copy
View reference in browser
$ gh reference --web
copy

SYNOPSIS

gh reference [options]

DESCRIPTION

gh reference displays a comprehensive reference manual for all GitHub CLI commands. It provides a complete listing of commands, subcommands, and their options in a single view.
The reference is useful for discovering available commands and getting an overview of gh's capabilities. Unlike individual help pages, it shows all commands together for easier exploration.

PARAMETERS

--web

Open reference in web browser.
--help
Display help information.

CAVEATS

Output is lengthy; consider piping to a pager. Web version may be more current than local.

HISTORY

gh reference was added to the GitHub CLI to provide a comprehensive command reference, complementing the per-command help system.

SEE ALSO

gh(1), gh-help(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community