DEV Community

Cover image for Hub. Access Github without leaving your terminal ! πŸ’»πŸš€
Younes
Younes

Posted on • Updated on • Originally published at blog.yafkari.dev

Hub. Access Github without leaving your terminal ! πŸ’»πŸš€

Hello everyone, today I will present you a nice tool that will save you time and will help you being more productive with your Github projects.

It's called Hub (Original 😝), and it "helps you do everyday GitHub tasks without ever leaving the terminal."

In this article, I will not go in depth in the presentation of the features because the documentation is pretty good actually. I don't think you'll struggle with it ^^.

That's a very interesting tool for people that codes and use Git (if you code, you should definitively use Git ❗️)

In fact, Hub is an extension to the git command-line, it adds Github specific commands.

For example :

$ git clone git://github.com/YOUR_USER/PROJECT.git
Enter fullscreen mode Exit fullscreen mode

Becomes:

$ hub clone PROJECT
Enter fullscreen mode Exit fullscreen mode

Or you can list the issues that are assigned to you with a certain label, ... :

$ hub issue -a YOUR_USER -l LABEL
Enter fullscreen mode Exit fullscreen mode

You can also open the current open the wiki of a project, open a pull-request, ...

You can find all the commands on the documentation page.

I think that this tool is very useful when you get used to NOT OPEN your browser and it's easier to automate things, create aliases, ...

You can install Hub easily with:

brew install hub
Enter fullscreen mode Exit fullscreen mode

OR get a precompiled version of it here.

If you want to know more about it, go check the website !


PS: We almost hit 3000 FOLLOWERS (2959 while I'm writing) on DEV, you are AMAZING ❀️πŸ”₯ THANK YOU FOR BEING WITH US πŸ™πŸ»

Discussion (2)

Collapse
citizen428 profile image
Michael Kohl

You may also be interested in lab, which is a similar tool for GitLab. It has the benefit of also wrapping hub if that's available, so you can use it for both services.

Collapse
yafkari profile image
Younes Author

Oww, thank you ! I didn't know that tool yet, you should have written the post instead of me πŸ˜„