Created
September 16, 2013 07:27
-
-
Save johnie/6577608 to your computer and use it in GitHub Desktop.
Use this if you encounter pull conflicts.
This file contains 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 --all | |
git reset --hard origin/master | |
git fetch downloads the latest from remote without trying to merge or rebase anything. | |
Then the git reset resets the master branch to what you just fetched. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment