How to Resolve GitLab Merge Conflicts
Workaround available Self-managed or GitLab.com Updated November 13, 2026Based on 3 user reportsHow we research
Quick answer
GitLab can resolve simple text conflicts in the browser; anything bigger needs a local rebase or merge of the target branch into your branch.
Most likely fix: Resolve in the GitLab UI
How to fix it
Try these in order — the most common fix is first.
1. Resolve in the GitLab UI
- Open the merge request and click Resolve conflicts.
- Pick "Use ours" or "Use theirs" per section, or switch to Edit inline.
- Add a commit message and click Commit to source branch.
Did this fix it?2. Resolve locally with a merge
- git fetch origin && git switch my-branch.
- git merge origin/main, edit the files with conflict markers (<<<<<<<, =======, >>>>>>>).
- git add the files, git commit, git push.
Did this fix it?3. Resolve locally with a rebase
- git rebase origin/main.
- Fix each conflict, git add, git rebase --continue.
- git push --force-with-lease (only on your own branch).
Did this fix it?4. When Resolve conflicts is missing
- Binary files, renamed files and very large diffs cannot be resolved in the UI; use the local steps.
- Comment /rebase in the merge request to try a server-side rebase.
Did this fix it?
Symptoms
Merge request shows "There are merge conflicts" and the Merge button is disabled; "Resolve conflicts" may be missing.
Why it happens
- Both branches changed the same lines
- File renamed or deleted on one side
- Binary or very large files, which the web editor cannot resolve
- Branch is far behind the target branch
This guide also covers
- gitlab merge conflicts
- gitlab resolve conflicts button missing
- gitlab there are merge conflicts
- gitlab cannot merge conflicts
Still not working?
If GitLab keeps failing, you're not alone. See every GitLab problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to usOther GitLab errors
- GitLab Permission Denied (publickey) Error
- GitLab Pipeline Stuck on Pending
- GitLab Runner Not Picking Up Jobs
- GitLab "HTTP Basic: Access Denied" on Push or Clone
- GitLab "You Are Not Allowed to Push Code to Protected Branches"
- GitLab "No More Compute Minutes" or CI Minutes Quota Exceeded
- GitLab Pipeline Not Running or "yaml invalid"
- Why Is GitLab So Slow?