Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions pages/common/gh-issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# gh issue

> Manage GitHub issues from the command line.
> More information: <https://cli.github.com/manual/gh_issue>.

- Print out the issue:

`gh issue view {{issue_number}}`

- Create a new issue in the 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 an issue:

`gh issue reopen {{issue_number}}`