Skip to content

Instantly share code, notes, and snippets.

@mbrochh
Last active November 10, 2021 19:08
Show Gist options
  • Star 33 You must be signed in to star a gist
  • Fork 8 You must be signed in to fork a gist
  • Save mbrochh/964057 to your computer and use it in GitHub Desktop.
Save mbrochh/964057 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
@ArnoldZokas
Copy link

Awesome, thanks for posting this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment