In case you missed it, GitHub is introducing a more seamless way to work with GitHub from the command line with GitHub CLI:
We’re introducing an easier and more seamless way to work with GitHub from the command line— GitHub CLI , now in beta. Millions of developers rely on GitHub to make building software more fun and collaborative, and gh brings the GitHub experience right to your terminal.
You can install GitHub CLI today on macOS, Windows, and Linux , and there’s more to come as we iterate on your feedback from the beta.
Here are some of the highlight features:
- Filter issue lists by label
- Quickly view issue details
- Create a pull request
- View the status of your pull request
- Check out pull requests from contributors
What About Hub?
For many years, hub was the unofficial GitHub CLI tool.
ghis a new project for us to explore what an official GitHub CLI tool can look like with a fundamentally different design. While both tools bring GitHub to the terminal,
hubbehaves as a proxy to
ghis a standalone tool.
So it seems that
gh is the official CLI tool from GitHub, while hub is unofficial. I could not find any information about whether hub will continue to see updates, but it seems clear that
gh will be the preferred CLI experience going forward.
For more information related to the beta, read the official announcement from GitHub: Supercharge your command line experience: GitHub CLI is now in beta.