Skip to main content

Merge Conflict Helper

Resolve standard two-way Git merge markers by choosing current, incoming, or both sides per conflict. Diff3 is unsupported; text stays in your browser and is not uploaded or saved.

Supports standard two-way Git markers only: current (`<<<<<<<`), separator (`=======`), and incoming (`>>>>>>>`). Diff3 markers and nested conflicts are unsupported. Current/incoming describe marker positions, not guaranteed branch roles during a rebase. “Both” concatenates the two sides; it does not merge code. Text stays in this page and is not uploaded or saved. Limits: 100,000 UTF-16 code units and 2,000 lines.

108 / 100,000 code units

Conflict 1 (line 2; Unresolved)

Current (first marker section)

  return 1000;

Incoming (second marker section)

  return 2500;

Resolved text

1 conflict remaining. Resolve each one to enable copying.

function getTimeout() {
<<<<<<< HEAD
  return 1000;
=======
  return 2500;
>>>>>>> feature/longer-timeout
}

Was this tool helpful?