Skip to content

Instantly share code, notes, and snippets.

@gorkemyontem
Forked from CristinaSolana/gist:1885435
Last active March 2, 2018 11:03
Show Gist options
  • Save gorkemyontem/226a62117a9f85c1607f951e68b0341c to your computer and use it in GitHub Desktop.
Save gorkemyontem/226a62117a9f85c1607f951e68b0341c to your computer and use it in GitHub Desktop.
Keeping a fork up to date

https://help.github.com/articles/syncing-a-fork/

1. Add remote from original repository in your forked repository:

git fetch upstream
git checkout master
git merge upstream/master

2. Updating your fork from original repo to keep up with their changes:

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