I forked a github repo. Now I want to update my fork to the current repo version. How can I do that?
1 Answer
I had the same doubt and found the answer in the github help.
git remote add upstream git://url-to-original
git fetch upstream
git merge upstream/master
git push
upstream is the name I gave to the original repository.
Hope it helps.