June 15, 2014
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)"
git clone christianv
pull-request - Create a pull request
git pull-request -b christianv:master -o # The `-o` option will open the pull request in the browser.