Git Merge Conflict Explainer

Paste a file with git conflict markers and learn what each section means, then pick a resolution strategy to see the resolved output.

Use the Git Merge Conflict Explainer

<<<<<<< HEAD

Start of your current branch version ("ours")

=======

Divider between ours and theirs

>>>>>>> branch

End of incoming branch version ("theirs")

Paste Conflicted File

Paste a conflicted file and click Parse Conflicts to get started.

Copied!

Summary

Paste a file with git conflict markers and learn what each section means, then pick a resolution strategy to see the resolved output.

How it works

  1. Paste your conflicted file content into the input area on the left.
  2. Click "Parse Conflicts" to extract and display each conflict block.
  3. Review the labeled sections for each conflict: HEAD (ours), incoming (theirs), and common ancestor if using diff3.
  4. Choose a resolution strategy on each conflict card: Keep Ours, Keep Theirs, Keep Both, or Manual Edit.
  5. Click "Apply All & Copy" to generate the resolved file and copy it to your clipboard.
  6. Use the Marker Quick Reference panel to review marker syntax and merge vs. rebase behavior.

Use cases

  • Understanding what <<<<<<, =======, and >>>>>>> markers mean in a conflicted file
  • Learning the difference between HEAD (ours) and the incoming branch (theirs)
  • Practicing conflict resolution strategies before applying them in a real repo
  • Quickly resolving simple accept-ours or accept-theirs conflicts without a GUI tool
  • Teaching junior developers how git merge conflicts are structured
  • Resolving rebase conflicts where the incoming vs. current sides are swapped
  • Generating a clean merged file to paste back into your editor
  • Checking whether a conflict block has a common base section (diff3 style)

Frequently Asked Questions

Last updated: 2026-09-19 · Reviewed by Nham Vu