I ran into a merge conflict. How can I abort the merge?
Asked 07 September, 2021
Viewed 391 times
  • 50
Votes

I used git pull and had a merge conflict:

unmerged:   _widget.html.erb

You are in the middle of a conflicted merge.

I know that the other version of the file is good and that mine is bad so all my changes should be abandoned. How can I do this?

15 Answer