Skip to main content

GitHub CLI

GitHub CLI 是一个命令行工具,可将拉取请求、议题、GitHub Actions 和其他 GitHub 功能引入终端,使您可以在一个地方完成所有工作。

GitHub CLI is an open source tool for using GitHub from your computer's command line. When you're working from the command line, you can use the GitHub CLI to save time and avoid switching context.

GitHub CLI includes GitHub features such as:

  • View, create, clone, and fork repositories
  • Create, close, edit, and view issues and pull requests
  • Review, diff, and merge pull requests
  • Run, view, and list workflows
  • Create, list, view, and delete releases
  • Create, edit, list, view, and delete gists
  • List, create, delete, and connect to a codespace
  • Retrieve information from the GitHub API

For more information, see "GitHub CLI documentation."