Skip to content

Instantly share code, notes, and snippets.

@arifsetyawan
Forked from mbrochh/gist:964057
Created December 24, 2012 06:44
Show Gist options
  • Save arifsetyawan/4368111 to your computer and use it in GitHub Desktop.
Save arifsetyawan/4368111 to your computer and use it in GitHub Desktop.
# kudos to https://github.com/drewlesueur
# stolen from here: https://github.com/blog/266-fast-forward-your-fork#comment-11535
git checkout -b upstream/master
git remote add upstream git://github.com/documentcloud/underscore.git
git pull upstream master
git checkout master // [my master branch]
git merge upstream/master
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment