Auto merge failed; fix conflicts and then commit the result. [Git]
1 2 3 4 5 6 7 8 9 10 |
|
You probably saw this message when you tried to do a git pull. There are a number of causes for this but the bottom line is that Git was unable to auto merge. If you know that the remote version is what you want then you can fix it by doing the following:
git fetch origin
git reset --hard origin
Now you can git push and pull to your heart’s content.