LinuxCommandLibrary

gh-issue

Manage GitHub issues from the command line.

TLDR

Display a specific issue

$ gh issue view [issue_number]
copy


Display a specific issue in the default web browser
$ gh issue view [issue_number] --web
copy


Create a new issue in the default web browser
$ gh issue create --web
copy


List the last 10 issues with the bug label
$ gh issue list --limit [10] --label "[bug]"
copy


List closed issues made by a specific user
$ gh issue list --state closed --author [username]
copy


Display the status of issues relevant to the user, in a specific repository
$ gh issue status --repo [owner]/[repository]
copy


Reopen a specific issue
$ gh issue reopen [issue_number]
copy

SYNOPSIS

gh issue <command> [flags]

DESCRIPTION

Work with GitHub issues

COMMANDS

gh-issue-close(1)

Close issue

gh-issue-comment(1)

Create a new issue comment

gh-issue-create(1)

Create a new issue

gh-issue-delete(1)

Delete issue

gh-issue-edit(1)

Edit an issue

gh-issue-list(1)

List and filter issues in this repository

gh-issue-reopen(1)

Reopen issue

gh-issue-status(1)

Show status of relevant issues

gh-issue-transfer(1)

Transfer issue to another repository

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 --web

SEE ALSO

gh(1)

Copied to clipboard