I forked a repo on github and changed a couple of things. The original repo has committed a couple of things. How can I update my fork without re-forking and undoing all my changes?
Asked
Active
Viewed 1,998 times
1 Answers
16
From your terminal in your local project folder...(and provided you have configured the remote for your fork)
git fetch upstream
git checkout master
git merge upstream/master
(See the github Syncing a fork docs for more info)
sfletche
- 42,426
- 25
- 94
- 115