...see more

Usually in git there is only origin and local, in git hub as we have origin and upstream, we can sync by following the below commands.

$ git remote -v 

$ git remote add upstream git@remoteURL.github.com

$ git remote -v 

$git fetch upstream

$ git merge upstream/master

$ git push origin master

For details and commands visit: GitHub : How to Sync from Forked repoit | PremAseem.me (wordpress.com)

Comments