此版本的 GitHub Enterprise 将停止服务 2022-02-16. 即使针对重大安全问题,也不会发布补丁。 要获得更好的性能、改进的安全性和新功能,请升级到 GitHub Enterprise 的最新版本。 如需升级方面的帮助,请联系 GitHub Enterprise 支持

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 文档都是开源的。看到错误或不清楚的内容了吗?提交拉取请求。

做出贡献

或者, 了解如何参与。