gh
Work seamlessly with GitHub from the command-line.
Some subcommands such as `gh config` have their own usage documentation.
- Clone a GitHub repository locally:
gh repo clone {owner}/{repository}
gh issue create
- View and filter the open issues of the current repository:
gh issue list
- View an issue in the browser:
gh issue view --web {issue_number}
gh pr create
- View a pull request in the browser:
gh pr view --web {pr_number}
- Locally check out the branch of a pull request, given its number:
gh pr checkout {pr_number}
- Check the status of a repository's pull requests:
gh pr status
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).