Created
June 17, 2013 22:04
-
-
Save brntbeer/5800917 to your computer and use it in GitHub Desktop.
Set up instructions to update your fork
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# These instructions will set up a second remote server, fetch that data down to your | |
# remote tracking branches, namespaced under 'upstream/'. | |
# You can then checkout to your master, merge in the upstream changes, and push back to your fork (origin) | |
# where USER is the original owner name and ORIGINAL is the original project you forked from | |
git remote add upstream https://github.com/USER/ORIGINAL.git | |
git fetch upstream | |
git checkout master | |
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