← 返回首页
GitHub CLI | Take GitHub to the command line
Skip to content CLI
CLI manual

gh variable

Variables can be set at the repository, environment or organization level for use in GitHub Actions or Dependabot. Run gh help variable set to learn how to get started.

Available commands

Options

-R, --repo <[HOST/]OWNER/REPO> Select another repository using the [HOST/]OWNER/REPO format

See also