GitHub Command Line Tool Reaches General Availability
Written by Kay Ewbank   
Tuesday, 22 September 2020

GitHub has announced the general availability of its new command-line tool, GitHub CLI. The tool lets you issue pull requests and work with issues from the command line to give developers a more seamless way to work with GitHub repositories from the command line.

The team behind GitHub CLI says it reduces context switching, helps you focus, and enables you to more easily script and create your own workflows.


There was already a command line way of working with GitHub using the third party Hub tool which adds extra features and commands that make working with GitHub easier.

GitHub CLI, by contrast, simply provides command line ways to issue GitHub commands.

The decision to go with GitHub CLI rather than building on Hub was a tricky one, according to the GitHub CLI page. In a section on "why didn't you just build on top of hub", the team says they weighed the different possibilities and decided to start fresh:

"without the constraints of 10 years of design decisions that Hub has baked in and without the assumption that Hub can be safely aliased to Git. We also wanted to be more opinionated and focused on GitHub workflows, and doing this with Hub had the risk of alienating many Hub users who love the existing tool and expected it to work in the way they were used to."

GitHub CLI 1.0 lets you run your entire GitHub workflow from the terminal, from issues through releases. You can also call the GitHub API to script most actions, and set a custom alias for any command. The tool also provides a way to connect to the GitHub Enterprise Server as well as to

You can create pull requests and issues without leaving the command line. If you use the tool to create pull requests, it also automatically creates a fork when you don’t already have one, and it pushes your branch and creates your pull request to get your change merged.


More Information

GitHub CLI Home Page

Related Articles

GitHub Launches CLI Tool

GitHub Adds New Code Security Features

GitHub Acquires Pull Panda 


To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.


Can C++ Be As Safe As Rust?

Herb Sutter is a well known and respected C++ champion and he thinks that the language only needs a few tweaks to make it as safe as Rust. Can this be true?

Google Introduces JPEG Coding Library

Google has introduced Jpegli, an advanced JPEG coding library that maintains high backward compatibility while offering enhanced capabilities and a 35% compression ratio improvement at high quality co [ ... ]

More News

raspberry pi books



or email your comment to:

Last Updated ( Tuesday, 22 September 2020 )