Back to Gitlabhq

Resolve merge conflicts with GitLab Duo (Beta)

doc/releases/19/gitlab-19-0-released/resolve-merge-conflicts-with-gitlab-duo-beta.md

19.3.0677 B
Original Source

In previous versions of GitLab, you had to resolve merge conflicts manually in the GitLab UI or from the command line, even for straightforward cases.

Now GitLab Duo can autonomously analyze merge conflicts, edit the conflicting files, create a commit, and push to the source branch. Trigger conflict resolution from the Resolve conflicts page or directly from the merge request widget. When complete, GitLab Duo posts a summary comment so reviewers can see what changed.

GitLab Duo respects branch protection rules and does not force-push to protected branches.

This feature is in beta and is gated behind the mr_ai_resolve_conflicts feature flag, enabled by default.