DEV Community

0 seconds of 0 secondsVolume 90%
Press shift question mark to access a list of keyboard shortcuts
00:00
00:00
00:00
 
Michelle Duke
Michelle Duke

Posted on • Edited on

6

Power of the GitHub CLI

I had the pleasure of recently showing off the GitHub Command Line on one of my live streams. With such a simple tool, there are so many things you can accomplish without leaving the terminal.

All the GitHub tools in the terminal

Have you ever been working in multiple windows, not knowing which tab is open, where your code is, and having to flick between multiple applications?; Code editor, browser, folders, GitHub Desktop, iTunes, you name it. Having GitHub available from the command line means you can program and organise your code from the same window.

Want to clone a repo? gh repo clone
Want to open an issue? gh issue open
There are lots of standard commands to make working on code that much easier. You can also do things like view your pull requests and even merge them directly from the terminal. I was able to do things like easily clone one of my repos and start from there. I can even open a new issue in my repo and be presented with the issue templates I had already created. Being able to work like this makes things so much easier.

How do you want to use GitHub in terminal. Let me know in the comments below. Keen to see all the cool ways people are using it.

For all the commands, check out the GitHub CLI documentation. Oh, and fun fact: the GitHub CLI is open source!

Watch the CLI in action

If you missed the GitHub CLI in action, you can rewatch all the fun on Twitch. We also show how you can use it with GitHub Desktop as well. They are such a great combo. How are you using the tools you have at your disposal?

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

Top comments (1)

Collapse
 
haxnet profile image
HaxNet

I think she is using a mechanic keyboard. I use one and love the feedback and clickly-click sound.

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay