Christian Vuerings

Hub - Supercharge Git

If you're using GitHub and the command line, then hub is something for you.

Supercharge Git

Why hub?

Have you ever wondered why you always have to add the complete URL when you're adding a git remote?

git remote add christianv https://github.com/christianv/dotfiles.git

With hub this changes to

git remote add christianv

when you are in a git repository.

Installation

The recommended way to install hub is through homebrew:

brew install hub

Then you should alias git to hub

eval "$(hub alias -s)"

Hightlighted Features

git clone christianv
git browse
git pull-request -b christianv:master -o
# The `-o` option will open the pull request in the browser.

I want more

In this post we highlighted some of the awesome features of hub. If you want more, definitely check out the hub readme.


Personal blog by Christian Vuerings
I love to share interesting ideas.