mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-08 08:57:25 +00:00
Update cheatsheets
This commit is contained in:
37
gh-issue
Normal file
37
gh-issue
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# gh issue
|
||||
|
||||
> Manage GitHub issues.
|
||||
> More information: <https://cli.github.com/manual/gh_issue>.
|
||||
|
||||
- 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}}`
|
||||
Reference in New Issue
Block a user