Last active
April 8, 2020 17:12
-
-
Save amandiobm/f20a9512f03ec3ba8a97125a5b52af78 to your computer and use it in GitHub Desktop.
Sync Forked Repo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git | |
| git fetch upstream | |
| git checkout master | |
| git merge upstream/master | |
| git push |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git fetch upstream
git reset --hard upstream/master
git push