Skip to content

Instantly share code, notes, and snippets.

@raghunandankavi2010
Created January 14, 2021 04:50
Show Gist options
  • Save raghunandankavi2010/99e5239ab7519fcbe26d325399d25ec0 to your computer and use it in GitHub Desktop.
Save raghunandankavi2010/99e5239ab7519fcbe26d325399d25ec0 to your computer and use it in GitHub Desktop.
adding remote repo as upstream
# Add a new remote upstream repository
git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git
# Sync your fork
git fetch upstream
git checkout master
git merge upstream/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment