git remote add upstream https://github.com/some_user/some_repo
git fetch upstream
git checkout master
git reset --hard upstream/master
git push origin master --force
Created
December 6, 2017 18:57
-
-
Save trinaldi/781e155a7c38318f7bf682b75c474da2 to your computer and use it in GitHub Desktop.
Match forked repo to original repo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment