Forrest logo
back to the gh tool

gh-issue:tldr:02308

gh-issue: Display the status of issues relevant to the user, in a specific repository.
$ gh issue status --repo ${owner}/${repository}
try on your machine

This command is using the GitHub CLI (Command Line Interface) to retrieve the status of an issue in a specific repository.

  • gh issue status: This is the main command to check the status of an issue.
  • --repo ${owner}/${repository}: It specifies the repository where the issue resides. ${owner} should be replaced with the actual owner or organization name, and ${repository} should be replaced with the repository name.

For example, if you want to check the issue status in a repository owned by an organization named "myorg", and the repository is called "myrepo", you would replace ${owner} with "myorg" and ${repository} with "myrepo". The command would look like this:

gh issue status --repo myorg/myrepo

Running this command will display the status (open, closed, or draft) of the issue in the specified repository.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the gh tool