← 返回命令列表

Linux command

gh-reference 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Display the full command reference

gh reference

Pipe the reference to a pager

gh reference | less

说明

gh reference outputs a comprehensive markdown-formatted reference of all GitHub CLI commands. It provides a complete listing of every command, subcommand, and their flags in a single document. The reference is useful for discovering available commands and getting an overview of gh's capabilities. Unlike individual help pages (`gh <command> --help`), it shows all commands together for easier exploration.

FAQ

What is the gh-reference command used for?

gh reference outputs a comprehensive markdown-formatted reference of all GitHub CLI commands. It provides a complete listing of every command, subcommand, and their flags in a single document. The reference is useful for discovering available commands and getting an overview of gh's capabilities. Unlike individual help pages (`gh <command> --help`), it shows all commands together for easier exploration.

How do I run a basic gh-reference example?

Run `gh reference` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more gh-reference examples?

This page includes 2 examples for gh-reference, plus related commands for nearby Linux tasks.