Hub - Supercharge Git
If you're using GitHub and the command line, then hub is something for you.
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.
The recommended way to install hub is through homebrew:
brew install hub
Then you should alias
eval "$(hub alias -s)"
- clone - Clone a remote repository
git clone christianv
- browse - Open the current branch in the browser
- pull-request - Create a pull request
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.
I love to share interesting ideas.