Skip to content

2018

GitHub Branch Code Sync

Sync From Forked Repository

  1. Check is upstream configured
  2. run git remote -v to check upstream configuration
  3. run git remote add upstream {upstream repo path} if upstream is not well configured
  4. run git fetch upstream to fetch upstream to local
  5. run git merge upstream/{upstream branch} to merge upstream branch to local branch
  6. run git push origin {local branch} to push changes