Git Fork by Patrik

GitHub Fork and Sync repository

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

Leave a Comment

All fields are required. Your email address will not be published.