gh issue list
Showing 4 of 4 issues in cli/cli
Improving interactions with protected branches
PR commands on a detached head
Support for GitHub Enterprise (enhancement)
Add an easier upgrade command (bug)
gh pr status
Relevant pull requests in cli/cli
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
✓ Checks passing - Review pending
gh pr checkout 12
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.
* [new ref] refs/pull/8896/head -> patch-2
Switched to branch 'patch-2'
gh pr create
Creating pull request for feature-branch into
main in ampinsk/test
? Title My new pull request
[(e) to launch vim, enter to skip]
? What's next? Submit
gh pr checks
All checks were successful
1 failing, 3 successful, and 1 pending checks
gh release create 1.0
? Title GitHub CLI 1.0
? Release notes Write my own
? Is this a prerelease? No
? Submit? Publish release
gh repo view
GitHub’s official command line tool
gh is GitHub on the command line. It brings pull
requests, issues, and other GitHub concepts to the terminal next to where you are already working with
git and your code.
Image: screenshot of gh pr status →
View this repository on GitHub: https://github.com/cli/cli
gh alias set bugs 'issue list --label="bugs"'
- Adding alias for bugs: issue list --label="bugs"
✓ Added alias.
$ gh bugs
Showing 2 of 7 issues in cli/cli that match your search
Pagination request returns empty JSON (bug)
Error raised when passing valid parameters