You know when you’re working away on your development, perhaps a website or a WordPress plugin, and you check in to Git using the command line, but then you have to switch over to the browser in order to create the pull request in GitHub? Well not anymore!
GitHub has now released GitHub CLI in beta, version 0.5.5 at the time of writing.
Take GitHub to the command line
You can get a list of current pull requests like this…
gh pr list
Or a list of issues like this…
gh issue list
You can even fire up the issue in the web browser using this command…
gh issue view 1
I’ve been trying this out for a week or so and been really enjoying having it right there in the command line alongside Git. I’m looking forward to seeing what other functionality they add in once it’s out of beta.
For a full list of commands, check out the GitHub CLI manual.