gh — The GitHub CLI

Get to know the super-convenient CLI to save you time and effort doing things on GitHub

Christopher Laine
IT Dead Inside
Published in
6 min readFeb 2, 2022

--

A guilty confession: I love Git, but I hate the Git command line.

Sure, sure, I know. I can hear the comments already. I can do literally EVERYTHING Git-related from the command line. I can do things I never knew I could do or even wanted to do, all kinds of crazy functionality baked into the bowels of Git.

Yeah, I still don’t like it. The syntax is often hard to understand and overly (some might say obtusely) complex. A lot of the command line syntax is old as hell and not in keeping with modern application development. While there are times I need to get down to that level (interactive rebase being a perfect example), by and large, there are so many things I do regularly which really don’t merit me using that low of a level.

I’ve been an avid user of GitHub for a long time. Both for Open Source project work, as well as hosting my own code, GitHub is a great platform. But of course for years I’ve had to take the bad with the good. GitHub is a great platform, but interacting with my repos meant I was shackled with the Git command line to do most stuff.

Plus, as the years have rolled on, GitHub has added all kinds of functionality which clearly can’t be manipulated…

--

--