Skip to content

Instantly share code, notes, and snippets.

@djekl
Forked from mbrochh/gist:964057
Created January 13, 2012 17:00
Show Gist options
  • Save djekl/1607521 to your computer and use it in GitHub Desktop.
Save djekl/1607521 to your computer and use it in GitHub Desktop.
Fast Forward Your Fork
# 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