2

My pull request has conflicts but I can not find anywhere to resolve them in either DevOps or VS2019

There is More Actions Tool Tip

More actions tool tip

Here are the actions

Complete is disabled

The docs indicate that VS2019 has some Pull Request features but I cannot see them in Team Explorer or under the Git menu

In VS2019 in the Git Changes tab, working in the fork that the pull request is for, when I pull I get a message that the repository is already up to date.

The Pull Request is from Master of the repository to Master of a fork.

Kirsten
  • 15,730
  • 41
  • 179
  • 318
  • Your pull can tell you that you are up to date doesn't mean that you are 'synced' with the target branch. So check that you have rebased or merged (depending on your strategy) your branch with the target branch. This action must raise conflicts that you will have to solve. And after don't forget to push. – Philippe Sep 14 '21 at 07:04

3 Answers3

2

In Azure DevOps, there is no built-in feature can resolve the merge conflicts.

But we can use the Extension to achieve this feature in Azure DevOps: Pull Request Merge Conflict Extension

enter image description here

Kevin Lu-MSFT
  • 20,786
  • 3
  • 19
  • 28
1

You won't be able to resolve merge conflicts directly within Azure DevOps. But you can resolve them with e. g. Visual Studio or using a command line.

This is the documentation you are looking for: Resolve merge conflicts

Martin Brandl
  • 56,134
  • 13
  • 133
  • 172
1

Move the mouse cursor over the grayed Complete button to see in a popup the reason why the merge cannot be completed.

For instance, in "TFS error: Merge must finish before the Pull Request can be completed", the merge was not finished.
You can abandon it, then reactivate it.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250