Git repo: update forked with original

  1. Open terminal in fork folder
  2. Add the original repo calling it “upstream”
  3. Fetch all the branches of that remote
  4. Check out your fork’s local master branch.
  5. Merge the changes from upstream/master into your local master branch. This brings your fork’s master branch into sync with the upstream repository, without losing your local changes.

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

Leave a Reply

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