Hi everyone,
Today I am writing about hub
, the GitHub wrapper that can help you save time when you don't want to leave the console(terminal) and still want to add git as version control to your project.
I find it very useful when I want to create a new project on Github to just type in the root of my project:
hub init
hub create
These commands, if you have GitHub set up right, will create your repo on Github and also push the project. So we can already start branching or tagging.
Also if you ever want to find out more about what hub
can do. Just type hub
in the terminal like this:
hub
This is just a fraction of what hub can do and I will also have to explore it more.
Hub installation and download instructions can be found here
I highly recommend you to try it, Dear Reader.
Will you take it for a test?
Credits:
Thank you, Andrew Clayton for spotting a typo in the opening paragraph regarding Github instead of git.
Thank you @rhymes
Top comments (10)
Hi @wolfiton ! Nice overview!
You might want to know that Github recently released an official (though in beta) CLI, to replace
hub
. It is written in Go.cli / cli
The GitHub CLI
gh - The GitHub CLI tool
gh
is GitHub on the command line, and it's now available in beta. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working withgit
and your code.Availability
While in beta, GitHub CLI is available for repos hosted on GitHub.com only. It does not currently support repositories hosted on GitHub Enterprise Server or other hosting providers.
We need your feedback
GitHub CLI is currently early in its development, and we're hoping to get feedback from people using it.
If you've installed and used
gh
, we'd love for you to take a short survey here (no more than five minutes): forms.gle/umxd3h31c7aMQFKG7And if you spot bugs or have features that you'd really like to see in
gh
, please check out the contributing pageUsage
gh pr [status, list, view, checkout, create]
gh issue
β¦The new article about gh is live here gh article.
Let me know if it is ok how I quoted you?
Also if you want to add something more?
Thanks again
Thanks! Super kind, there was no need to quote me though :D I'm not part of the
gh
team, I just use it.Thanks again!
I know that you are not part of the Github Team, but you brought this info and I think it's only fair to mention that.
I added this for clarity like this:
Excerpt from the article regarding gh
I am glad that you liked the article.
Thank you for posting this update @rhymes , also I am very glad you enjoyed the article.
I will certainly look into this new tool GitHub released.
Would you allow me @rhymes to quote what you comment on here in the article as an update?
Also, add your name to the credits of the article as well?
Sure βΊοΈ
Thanks, I will do it tomorrow.
A small nit to pick with the opening paragraph.
The way it reads it's basically saying that GitHub == Git.
(OK, that's probably not what you actually meant...)
GitHub is of course not a VCS, it provides hosting for a specific VCS, Git.
You can of course quite happily use Git and never touch GitHub...
Sorry, just a minor irritation (like when people conflate C & C++...)
Thank you for spotting that typo.