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
32 changes: 32 additions & 0 deletions pages/common/gh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# gh

> Work seamlessly with GitHub from the command line.
> More information: <https://cli.github.com/>.

- Create a pull request:

`gh pr create`

- View a pull request in the browser:

`gh pr view {{pr_number}}`

- Check out pull requests locally:

`gh pr checkout {{pr_number}}`

- Check the status of your pull requests:

`gh pr status`

- Create a new issue:

`gh issue create`

- View and filter repository’s open issues:

`gh issue list`

- View an issue in the browser:

`gh issue view {{issue_number}}`