Created
January 10, 2017 14:35
-
-
Save abelorian/bcd9c174a6eaeec4a14096a52b3b17f8 to your computer and use it in GitHub Desktop.
git: Your branch and 'origin/master' have diverged - how to throw away local commits?
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 origin | |
git reset --hard origin/master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment