Merge GIT Fork with Master

Add an upstream source and name it (

Before doing anything, you need to tell Git where to find the upstream fork.

git remote add realmaster

Then you can use the following commands to update your fork whenever you feel the need.

git fetch realmaster
git checkout master
git merge realmaster/master

Joel Griffiths

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top