-
-
Save tfenster/d7da56fe8891b84ff37953d8b738b680 to your computer and use it in GitHub Desktop.
Force your forked repo to be the same as upstream. Forces master changes into fork and throws away all changes!
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
if no upstream remote created: git remote add upstream https://[upstream guy's repo url] | |
git fetch upstream | |
git reset --hard upstream/master | |
git push origin master --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment