Skip to content

Instantly share code, notes, and snippets.

@gentoomaniac
Last active December 9, 2015 12:14
Show Gist options
  • Save gentoomaniac/088f20c59260b3ef1a86 to your computer and use it in GitHub Desktop.
Save gentoomaniac/088f20c59260b3ef1a86 to your computer and use it in GitHub Desktop.
Configuring forked git repo to pull in from original repo
## add remote for upstream
# git remote add upstream git@....
## checkout fork master
# git checkout master
## fetch upstream changes
# git fetch upstream
## merge changes in fork master
# git merge upstream/master
## push to fork master
# git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment