Skip to content

Instantly share code, notes, and snippets.

@gleicon
Forked from mbrochh/gist:964057
Created July 3, 2012 09:05
Show Gist options
  • Save gleicon/3038646 to your computer and use it in GitHub Desktop.
Save gleicon/3038646 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