Git Merge Conflict Visualizer
Paste a merge conflict and visualize both sides clearly.
Input
Visualization
What is Git Merge Conflict Visualizer?
Git Merge Conflict Visualizer separates the current and incoming sides of conflict markers so competing edits can be read without the surrounding marker syntax. It provides a clearer basis for deciding which lines to keep, combine, rewrite, or discard during a merge or rebase.
How to use Git Merge Conflict Visualizer
Paste the conflicted content and inspect the two competing sides in a clearer visual representation.
When is Git Merge Conflict Visualizer useful?
Git Merge Conflict Visualizer is useful when resolving Git merge conflicts, reviewing incoming changes, or explaining why two branches conflict.
Example
A practical example is visualizing a conflict where two branches changed the same function in different ways.
Practical notes
The tool can display both versions but cannot know the intended combined behavior. Read the surrounding code, consult the commits or authors when necessary, remove every conflict marker, and run relevant tests before completing the merge.