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 -v | |
| git remote add upstream https://github.com/otheruser/repo.git | |
| git remote -v | |
| git fetch upstream | |
| git branch -va | |
| git checkout master | |
| git merge upstream/master |
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 fetch upstream | |
| git checkout master | |
| git reset --hard upstream/master | |
| git push origin master --force |