Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alandooz/98d6fa3c71087ae279cdd74e85c07bb4 to your computer and use it in GitHub Desktop.
Save alandooz/98d6fa3c71087ae279cdd74e85c07bb4 to your computer and use it in GitHub Desktop.
Sync forked repository with the original repository
git remote -v

git remote add upstream link-to-original-repository

git remote -v

git fetch upstream

git merge upstream/master

git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment