Check out our docs for more info and view all GitHub CLI commands.
-
- gh pr view
- gh issue create
- gh pr list
-
- gh pr create
- gh pr list
- gh issue status
-
- gh issue create
- gh pr checkout
- gh issue list
-
- gh issue list
- gh issue view
- gh pr view
-
- gh pr status
- gh pr create
-
- gh pr view
- gh issue create
- gh pr list
-
- gh pr create
- gh pr list
- gh issue status
-
- gh issue create
- gh pr checkout
- gh issue list
-
- gh issue list
- gh issue view
- gh pr view
-
- gh pr status
- gh pr create
$ gh pr status gh issue list gh pr create gh pr checkout
Check on the status of your pull requests.
View and filter a repository’s open issues.
Create a pull request.
Check out pull requests locally.
$
gh pr status
Current branch
There is no pull request associated with [fix-homepage-bug]
Created by you
You have no open pull requests
Requesting a code review from you
#100 Fix footer on homepage [fix-homepage-footer]
- Checks passing - Approved
gh issue list
There is no pull request associated with [fix-homepage-bug]
Created by you
You have no open pull requests
Requesting a code review from you
#100 Fix footer on homepage [fix-homepage-footer]
- Checks passing - Approved
Issues for owner/repo
gh pr create
Creating pull request for into master in
My new pull request
[(e) to launch nano, enter to skip]
http://github.com/owner/repo/pull/1
gh pr checkout 12
My new pull request
[(e) to launch nano, enter to skip]
http://github.com/owner/repo/pull/1
remote: Enumerating objects: 66, done.
remote: Counting objects: 100% (66/66), done.
remote: Total 83 (delta 66), reused 66 (delta 66), pack-reused 17
Unpacking objects: 100% (83/83), done.
From https://github.com/owner/repo
* [new ref] refs/pull/8896/head -> patch-2
M README.md
Switched to branch 'patch-2'
Goodbye, context switching. Hello, terminal.
Easy creation
Create pull requests and issues without leaving the command line.
Quick status checks
See the status of open issues and pull requests, and see what’s waiting for review.
Seamless navigation
Filter issues and pull requests, and open them in your browser.
Beta
View installation instructions →
Try GitHub on the command line
GitHub CLI is ready for your terminal. It’s free and open source—getting better with every fork.
Contribute and learn more
Help us make GitHub CLI fit the way you work by sharing feedback. And find more information about how to use it in our manual and release notes.
Share your feedback in our repository → Read the manual → Check out the release notes →