DEV Community

Cover image for Boost productivity with the GitHub CLI

Boost productivity with the GitHub CLI

Nick Taylor on November 14, 2023

The GitHub CLI is an indispensable tool as a project maintainer or contributor on GitHub. It can boost your productivity when getting things done. ...
Collapse
 
0vortex profile image
TED Vortex (Teodor Eugen Duțulescu)

Very well written article! I would add 2 things tho:

  • having the gh cli installed and an isolated login (regardless if https or ssh) can simplify the process of contributing to open source projects or switching between work and hobby by a lot, making it in my opinion a default requirement for doing open source easily
  • the CLI really shines at the GitHub functionality that is not available (easily) in the git command line itself, like gh issue/pr/gist, you touched on them less than the repo create function (which is still faster from the UI?), IMHO they deserve more love (or an entire article for each? :D)
Collapse
 
nickytonline profile image
Nick Taylor • Edited

Thanks for reading and the feedback Ted!

For the first point I thought it was kind of implied (but maybe I can be more explicit about it), but to your second point, there’s lots I still haven’t touched in terms of commands in the GitHub CLI. Maybe another article. 😎

For creating PRs, for me at least it’s pretty quick, but I also use it to automate creating PRs for certain things, like pulling in my content to my website. See

Collapse
 
fmerian profile image
flo merian

great write-up, @nickytonline, and perfect timing as GitHub just released a new extension, bringing Copilot to the CLI. you can ask it to do things like explain how a command works or suggest a command for a task you want to perform.

it's currently in public beta, and it's open source!

Collapse
 
sebastianccc profile image
Sebastian Christopher • Edited

It's called Warp 😉

Collapse
 
fmerian profile image
flo merian

also true! 😄

Collapse
 
nickytonline profile image
Nick Taylor

Stephen Colbert saying Awesome Sauce

Collapse
 
ladykerr profile image
Kedasha

Such a great write up! Thanks for sharing! Now you an go a step further with Gh Copilot in the CLI 🚀learn how to use it!

Collapse
 
nickytonline profile image
Nick Taylor

Jack Nicholson nodding yes

Collapse
 
kehoecj profile image
Clayton Kehoe

Thanks for this - looks like I need to integrate the CLI into my workflow

Collapse
 
nickytonline profile image
Nick Taylor

Captain America saluting

Collapse
 
nickytonline profile image
Nick Taylor
Thread Thread
 
ladykerr profile image
Kedasha

💃🏼

Collapse
 
codercatdev profile image
Alex Patterson

I liked using SSH until I had three accounts, now it seems painful.

Collapse
 
chefsushiwill1 profile image
CHEF WILL

Image description

Collapse
 
tizianogh profile image
Tizianogh

Hi Nick, Great article! Your terminal is really cool. Can you tell me which theme you use, please?