GitHub CLI
GitHub's official command-line tool, gh, for working with pull requests, issues and releases from the terminal.
In more detail
gh pr create --title "Add a new button" --body "Closes #42" opens a pull request for the current branch without visiting the website. It talks to GitHub, not to Git, so it complements the git command rather than replacing it.
Example
gh pr create --title "Add a new button" --body "Closes #42"Related terms
- GitHub — A hosting service for Git repositories that adds collaboration features such as pull requests, issues, forks and releases.
- pull request — A request on a hosting service such as GitHub to merge one branch into another, with a page for review, discussion and automated checks.
- command-line interface — A program you control by typing commands as text in a terminal instead of clicking in a window.
Taught in
- The Pull Request, And Branch Naming — Advanced Git Internals & Distributed Workflows