I very often use Github/Git for my and not only my projects and this post is something like memo for myself, but i think it can be useful for somebody else. SHow to sync your fork with main repository:
First of all set new remote repo:
git remote add upstream https://github.com/user/repo.gitNow fetching last changes:
git fetch upstreamAnd now as we fetched the upstream repository, we must to merge its changes into our local branch.
git merge upstream/master@0xAX
Comments