gh

Work seamlessly with GitHub from the command line.

TLDR

Clone a GitHub repository locally

$ gh repo clone [owner]/[repository]
copy

Create a new issue

$ gh issue create
copy

View and filter the open issues of the current repository

$ gh issue list
copy

View an issue in the browser

$ gh issue view --web [issue_number]
copy

Create a pull request

$ gh pr create
copy

View a pull request in the browser

$ gh pr view --web [pr_number]
copy

Locally check out the branch of a pull request, given its number

$ gh pr checkout [pr_number]
copy

Check the status of a repository's pull requests

$ gh pr status
copy

Copied to clipboard
Dodo Farming