This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /Gitlab

How to Resolve Merge Conflicts in GitLab

Updated on:
June 5, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to fix merge conflicts directly inside GitLab.

Quick summary

Resolving merge conflicts in GitLab can be done entirely through the browser using the built-in conflict resolution tool. This guide walks you through navigating to a merge request, choosing which code version to keep, and completing the merge without leaving GitLab.


Steps

  1. Log in to your GitLab account, navigate to your project, and select Merge requests.
  2. Open the merge request that has conflicts and click Resolve conflicts.
  3. For each conflicting file, select Use ours or Use theirs to choose which version of the code to keep.
  4. Click Commit to source branch to save your conflict resolution choices.
  5. Review any remaining fields as needed, then click Merge to complete the merge request.

📌 Why this matters

Merge conflicts are one of the most common blockers in collaborative software development, and GitLab's built-in conflict resolution tool lets developers fix them directly in the browser without switching to a local environment. By offering a point-and-click interface to choose between conflicting code versions, GitLab reduces the time and friction typically associated with resolving merge conflicts. This capability helps engineering teams maintain faster code review cycles and keeps merge requests moving through the pipeline without unnecessary delays. For teams using GitLab as their DevSecOps platform, in-browser conflict resolution is a key feature that supports smoother collaboration and faster software delivery.
Your product deserves an interactive demo
Start free
Similar Articles
Gitlab

How to Integrate Replit with GitLab

Madhav Bhandari
Director of Marketing @ Storylane
Gitlab

How to Create a Pull Request in GitLab

Madhav Bhandari
Director of Marketing @ Storylane
Gitlab

How to Integrate Snyk with GitLab

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Interactive Demos
Sandbox Demos
Hubs
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Help Docs
What’s New
Demo Dundies
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it