Skip to content

Instantly share code, notes, and snippets.

@bzhr
Forked from mbrochh/gist:964057
Created May 16, 2017 16:21
Show Gist options
  • Save bzhr/788c91e77b942052817d21ea7be68372 to your computer and use it in GitHub Desktop.
Save bzhr/788c91e77b942052817d21ea7be68372 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