Skip to content

Instantly share code, notes, and snippets.

@bmvakili
Created February 13, 2012 19:14
Show Gist options
  • Save bmvakili/1819230 to your computer and use it in GitHub Desktop.
Save bmvakili/1819230 to your computer and use it in GitHub Desktop.
"Fast Forward" the fork! Merges any changes from orginal repository into forked repository .
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
## Source : https://github.com/blog/266-fast-forward-your-fork
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment