gh-issue - Man Page
Manage issues
Examples (TL;DR)
- Display a specific issue:
gh issue view issue_number
- Display a specific issue in the default web browser:
gh issue view issue_number --web
- Create a new issue in the default web browser:
gh issue create --web
- List the last 10 issues with the
bug
label:gh issue list --limit 10 --label "bug"
- List closed issues made by a specific user:
gh issue list --state closed --author username
- Display the status of issues relevant to the user, in a specific repository:
gh issue status --repo owner/repository
- Reopen a specific issue:
gh issue reopen issue_number
Synopsis
gh issue <command> [flags]
Description
Work with GitHub issues.
General Commands
- gh-issue-create(1)
Create a new issue
- gh-issue-list(1)
List issues in a repository
- gh-issue-status(1)
Show status of relevant issues
Targeted Commands
- gh-issue-close(1)
Close issue
- gh-issue-comment(1)
Add a comment to an issue
- gh-issue-delete(1)
Delete issue
- gh-issue-develop(1)
Manage linked branches for an issue
- gh-issue-edit(1)
Edit issues
- gh-issue-lock(1)
Lock issue conversation
- gh-issue-pin(1)
Pin a issue
- gh-issue-reopen(1)
Reopen issue
- gh-issue-transfer(1)
Transfer issue to another repository
- gh-issue-unlock(1)
Unlock issue conversation
- gh-issue-unpin(1)
Unpin a issue
- gh-issue-view(1)
View an issue
Options
- -R, --repo <[HOST/]OWNER/REPO>
Select another repository using the [HOST/]OWNER/REPO format
Example
$ gh issue list $ gh issue create --label bug $ gh issue view 123 --web
See Also
Referenced By
gh(1), gh-issue-close(1), gh-issue-comment(1), gh-issue-create(1), gh-issue-delete(1), gh-issue-develop(1), gh-issue-edit(1), gh-issue-list(1), gh-issue-lock(1), gh-issue-pin(1), gh-issue-reopen(1), gh-issue-status(1), gh-issue-transfer(1), gh-issue-unlock(1), gh-issue-unpin(1), gh-issue-view(1).
Jul 2024 GitHub CLI manual