OS Manuals

gh-issue(1)

gh-issue - Manage issues

GH-ISSUE(1) GitHub CLI manual GH-ISSUE(1)

gh-issue - Manage issues

gh issue <command> [flags]

Work with GitHub issues.

Create a new issue

List issues in a repository

Show status of relevant issues

Close issue

Add a comment to an issue

Delete issue

Manage linked branches for an issue

Edit issues

Lock issue conversation

Pin an issue

Reopen issue

Transfer issue to another repository

Unlock issue conversation

Unpin an issue

View an issue

Select another repository using the [HOST/]OWNER/REPO format

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

$ gh issue list
$ gh issue create --label bug
$ gh issue view 123 --web

gh(1)

Sep 2026

gh 2.101.0-r1 · os · ingested 2026-09-30