GitHub CLI reference

You can view all of the GitHub CLI commands in your terminal or in the GitHub CLI manual.

To view all top-level GitHub CLI commands, see the GitHub CLI manual or call gh without arguments.

gh

To list all commands under a specific group, use the top-level command without arguments. For example, to list commands for managing repositories:

gh repo

To view the environment variables that can be used with GitHub CLI, see the GitHub CLI manual or use the environment command.

gh environment

To view the configuration settings that can be used with GitHub CLI, see the GitHub CLI manual or use the config command.

gh config

此文档对您有帮助吗?

隐私政策

帮助我们创建出色的文档!

所有 GitHub 文档都是开源的。看到错误或不清楚的内容了吗?提交拉取请求。

做出贡献

或者, 了解如何参与。