Skip to content

Instantly share code, notes, and snippets.

@amandiobm
Last active April 8, 2020 17:12
Show Gist options
  • Save amandiobm/f20a9512f03ec3ba8a97125a5b52af78 to your computer and use it in GitHub Desktop.
Save amandiobm/f20a9512f03ec3ba8a97125a5b52af78 to your computer and use it in GitHub Desktop.
Sync Forked Repo
git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git
git fetch upstream
git checkout master
git merge upstream/master
git push
@amandiobm
Copy link
Author

amandiobm commented Jan 29, 2020

git fetch upstream
git reset --hard upstream/master
git push

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