When working with GitHub Repositories, the website provides an excellent interface for working with Issues, Pull Requests, and Repositories. Of course, when committing file changes and merging branches, you still use the git CLI. However, this requires context switching between CLI and browser. Luckily, the GitHub CLI (gh) offers a full command-line / terminal experience for working with GitHub. Here’s a cheat sheet I’ve put together that showcases many of the GitHub CLI commands to help you be more productive at the command-line as you perform operations against your GitHub Pull Requests, Issues, and Repositories!

Source: GitHub CLI (gh) Cheat Sheet | Build5Nines

Was this post helpful?