I have a repository in Azure Repos. I have two branches "develop" and "abc". I have the same file (pom.xml) which exists in those 2 branches. How can I see the differences between branches for this file? I tried to use "Compare" option but it compares only between commits within the same branch.
To compare files in different branches in DevOps UI you can use Pull request, which is better than branch compare as it shows conflict tab. You can check either commit or conflict tab.
Or you need checkout the repo to local machine, use compare tool to pick these two files for comparation.
2
Answers
Sorry, Azure Devops UI doesn’t provide that feature.
I’m afraid you’ll have to resort to other comparing tools.
To compare files in different branches in DevOps UI you can use Pull request, which is better than branch compare as it shows conflict tab. You can check either
commit
orconflict
tab.Or you need checkout the repo to local machine, use compare tool to pick these two files for comparation.
If you would like this feature in DevOps, you can raise a user voice ticket via link: https://developercommunity.visualstudio.com/AzureDevOps/suggest?space=21.