Lesstep
Azure DevOps Services and Server · Pull requests · October 26, 2026

Azure DevOps pull request merge conflicts

When the source branch and the target branch of an Azure Repos pull request change the same lines differently, or one changes a file the other deletes, Azure DevOps cannot make the merge commit and the pull request stops at "conflicts". Below is what it shows and how to get the pull request moving again, from Microsoft's Complete, abandon, or revert pull requests, Resolve Git merge conflicts and the Pull Requests - Get reference.

What Azure DevOps shows

Resolving them on your machine

The usual route is to merge the target branch into the source branch locally, resolve the conflicts there and push. With the source branch feature and the target main:

git fetch origin
git checkout feature
git merge origin/main
# Git stops at "Automatic merge failed; fix conflicts and then commit the result."
# edit each conflicting file, then
git add <file>          # or git rm <file> for a file deleted on one side
git merge --continue
git push

Resolving them in the browser

The web page lists the conflicts but has no editor for them. Microsoft DevLabs' Pull Request Merge Conflict Extension, installed into the organization from the Visual Studio Marketplace, adds a Conflicts tab to the pull request: pick a file, choose how to resolve it, edit it in the editor of VS Code (Monaco) and submit it. Its listing names the known issues: files over 8 MB may only take the whole source or target file, only files with detected conflicts can be edited, directory/file conflicts are not supported, and updates to conflicted files do not show in the Files tab. DevLabs describes its extensions as experiments that are not supported. And after resolving with it, the pull request cannot be completed with a rebase merge type: Microsoft says conflict resolutions applied to a three-way merge are seldom valid when the commits are rebased one by one. Rebase locally and push, or squash.

From the REST API

Merge conflicts in IntelliJ IDEA

Azure DevOps Pull Requests, a plugin by Lesstep for JetBrains IDEs 2024.1 or later and Android Studio, lists the pull requests of Azure DevOps Services and Azure DevOps Server in an IDE tool window. From version 1.0.57, a pull request with merge conflicts says so at the top of its Overview, with Resolve in the IDE: it fetches, checks out the source branch and merges the target branch into it, so the conflicting files open in the IDE's merge dialog (Accept Yours, Accept Theirs, or Merge… side by side). From 1.0.60 the Overview first lists the files in conflict and what clashes in each (changed on both sides, deleted on one side, added on both sides, renamed differently, a file against a folder), as Azure DevOps reports them for the pull request. Commit the merge and push the branch, and Azure DevOps tries the merge again. Resolving conflicts is free, as are the review inbox, the diff and the branch policies; voting, commenting, completing and creating pull requests are Pro, with a 30-day trial.

Get it on JetBrains Marketplace

Azure DevOps is a trademark of Microsoft Corporation; IntelliJ IDEA is a trademark of JetBrains s.r.o. This page is not affiliated with or endorsed by Microsoft or JetBrains.

More: auto-complete and optional policies · merge types · build validation · 日本語