Using GitHub from Windows Terminal
GitHub is an excellent website for software collaboration. GitHub provides hosting for Git repositories, as well as web-based project management tools such as bug trackers and software release management.
One downside is that many of its features, such as Pull Requests, are web-based. This generally requires us to point and click on the website, and switch back and forth between a browser and a terminal. This back-and-forth switching can get annoying and inefficient.
GitHub has an official command-line client called gh
. As of 2020, this tool is showing promise, but it's far from a full-fledged replacement for using the website. That being said, it's still useful in certain scenarios, which we'll cover in this section.
Specifically, we'll cover the following command-line workflows:
- Creating repositories
- Viewing pull requests
- Checking out pull request branches
gh
supports many additional features,...