DevTools Surf logoDevTools Surf
AI / Modern DevAnimation / CSSAPI / Config
Sign in
DevTools Surf logoDevTools Surf
AI / Modern DevAnimation / CSSAPI / Config
Sign in
HomeDeveloper UtilitiesGit Conflict Resolver

About Git Conflict Resolver

Git Conflict Resolver preview - Developer Utilities tool

Simulate and guide through git merge conflict resolution strategies. Part of the DevTools Surf developer suite. Browse more tools in the Developer Utilities collection.

Use Cases

  • Practice conflict resolution strategies on synthetic conflicts before encountering them in a real codebase.
  • Understand the difference between 'ours/theirs' semantics during merge vs. rebase operations.
  • Learn how to resolve structural conflicts where both sides deleted and replaced the same block.
  • Train team members on conflict resolution without risking data loss on production branches.

Tips

  • Read both sides of the conflict before choosing — the 'ours' and 'theirs' labels can be counterintuitive during a rebase (they swap meanings).
  • Use a 3-way diff view to see the common ancestor alongside both conflicting versions, which makes the right resolution clearer.
  • After resolving, stage only the resolved files with 'git add <file>' — don't 'git add .' to avoid accidentally staging unresolved conflicts.

Fun Facts

  • Git conflict markers (<<<<<<< ======= >>>>>>>) were adopted from the diff3 utility, which dates to the early 1990s and was designed for merging text files — not source code.
  • The most common source of merge conflicts is concurrent edits to the same function signature — renaming a parameter in one branch while adding logic that uses the old name in another.
  • GitHub reports that the average pull request on public repos takes 4.5 days to merge. Repos with automated conflict detection (CI checks) reduce this to 2.8 days on average.

FAQ

What's the difference between 'ours' and 'theirs'?
During a merge: 'ours' is the branch you're merging INTO (current branch), 'theirs' is the branch being merged. During a rebase these swap — 'ours' becomes the branch being rebased onto.
How do I abort a merge mid-conflict?
Run 'git merge --abort' to restore the pre-merge state. For rebase, use 'git rebase --abort'. Both commands clean up staged conflict markers.
Can I configure my own merge tool?
Yes — set git config merge.tool vimdiff (or meld, kdiff3, etc.). The simulator shows the equivalent three-panel view that external merge tools use.

Related Developer Utilities Tools

Collection JSON → cURLGit Diff → HTMLRegex VisualizerMakefile ExplainerShell Script LinterGitHub Actions VisualizerHAR File ViewerAPI Response Mocker
New · Flagshipsimple REST client

REST Handler — Collections, env vars, history, cURL converter

Send requests, save collections (nested), swap environments, and convert between cURL / Collection JSON / REST Handler YAML.

Open

Popular tools

The most-used tools on DevToolsSurf, one click away.

Encoding & crypto

  • Base64 Encode
  • Base64 Decode
  • URL Encoder
  • URL Decoder
  • Hash Generator
  • JWT Decoder
  • JWT Encoder
  • UUID Generator
  • ULID Generator
  • Password Generator
  • Bcrypt Hash Tester

Converters

  • CSV to JSON
  • JSON to CSV
  • XML to JSON
  • JSON to XML
  • HTML → Markdown
  • HTML → React JSX
  • cURL to Code
  • Collection JSON → cURL
  • Swagger to Collection JSON
  • JSON → Go Struct
  • JSON → TypeScript Types

JSON & YAML

  • JSON Formatter
  • JSON Validator
  • JSON Viewer
  • JSON Minifier
  • JSON Diff
  • JSONPath Tester
  • YAML Formatter
  • YAML to JSON
  • JSON to YAML

Text & regex

  • Regex Tester
  • Text Diff
  • Case Converter
  • Word Counter
  • Markdown Preview
  • Slug Generator
  • Lorem Ipsum Generator
  • Markdown → PDF

CSS & color

  • CSS Beautifier
  • Minify CSS
  • Color Converter
  • Gradient Generator
  • Contrast Checker
  • Color Palette Generator
  • Flexbox Playground
  • Tailwind → CSS

Generators

  • QR Code Generator
  • Mock Data Generator
  • Favicon Generator
  • .gitignore Builder
  • README.md Generator
  • Dockerfile Generator
  • Sitemap Generator

API & networking

  • REST Handler
  • HTTP Header Analyzer
  • IP Address Lookup
  • CIDR Calculator
  • User-Agent Parser
  • HTTP Status Reference
  • OpenAPI Viewer

Date & time

  • Timestamp Converter
  • Timezone Converter
  • Cron Expression Parser
  • Duration Calculator
  • Age Calculator
  • Date Format Converter

Images

  • Image Converter
  • Image Resizer (Batch)
  • SVG Optimizer
  • Base64 ↔ Image
  • WebP ↔ AVIF Converter
  • Image Compressor

PDF tools

  • PDF Merger
  • PDF Splitter
  • PDF Compressor
  • Markdown → PDF
  • EPUB → PDF
  • MOBI / AZW → PDF
  • DOCX → PDF
  • HTML → PDF

Resources

  • Community feed
  • Themes marketplace
  • Pricing & credits
  • Privacy policy
  • Terms of service
  • Sitemap
  • robots.txt

Your account

  • Sign in
  • Dashboard
  • Run history
  • My profile
  • Settings
DevTools Surf logo
DevTools Surf912+ tools

Fast · privacy-first · client-side · © 2026

Home·Feed·ThemesPricing·Sign inPrivacy·Sitemap Feedback