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.
Azure Devops Repos compare file between two branches
1k views Asked by fascynacja At
3
There are 3 answers
2
wade zhou - MSFT
On
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.
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.
2
fascynacja
On
I have raised a ticket in Developer Community: https://developercommunity.visualstudio.com/t/Azure-Devops-Repos-compare-file-between-/10510655
Related Questions in GIT
- problem to push files on a repository git
- diff3 output in git conflict style, including mergeable hunks
- Git Not In Sync with Local Branch
- Setting up the version control of .dotfiles while the .config is connected to a forked repo
- How to fix overriding the main branch in Git?
- I can't add text to "Message" in VS Code when committing to Git
- How can i redirect pull request from main branch to another branch
- Xcode commits (possibly outside of any branch) disappeared, how to get them back?
- Git/TortoiseGit : how to apply ONLY the changes from ONE commit from branch A, to branch B?
- How can I reintroduce username an password on git using fedora?
- GIT SKIP EMPTY DIRECTORIES
- Git smudge run once per checkout or per commit?
- I can't find ~/.profile or ~/.bashrc in C:/Users/<user>/.ssh folder
- Set environment variable during push for GitHub Actions
- Android WebRTC compile
Related Questions in AZURE
- How to update to the latest external Git in Azure Web App?
- I need an azure product that executes my intensive ffmpeg command then dies, and i only get charged for the delta. Any Tips?
- Inject AsyncCollector into a service
- mutual tls authentication between app service and function app
- Azure Application Insights Not Displaying Custom Logs for Azure Functions with .NET 8
- Application settings for production deployment slot in Azure App Services
- Encountered an error (ServiceUnavailable) from host runtime on Azure Function App
- Implementing Incremental consent when using both application and delegated permissions
- Invalid format for email address in WordPress on Azure app service
- Producer Batching Service Bus Vs Kafka
- Integrating Angular External IP with ClusterIP of .NET microservices on AKS
- Difficulty creating a data pipeline with Fabric Datafactory using REST
- Azure Batch for Excel VBA
- How to authenticate only Local and Guest users in Azure AD B2C and add custom claims in token?
- Azure Scale Sets and Parallel Jobs
Related Questions in AZURE-DEVOPS
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Error: VS800075 when downloading artifact from another project
- Azure Scale Sets and Parallel Jobs
- Get current Timestamp in CET format and concatenate with string in yml file
- Post-Job Checkout Hanging in Azure DevOps Pipelines
- Referencing yml file from submodule in main pipeline
- Where to find a User Story draft?
- Self Hosted Agent service startup getting failed on VM restart
- Azure pipeline unable to deploy via a bicep file and set values for its parameters
- Dacpac deployment to Azure via SSMS failed: Cannot alter the role db_owner
- NodeJS [Errno 13] Permission denied - Azure DevOps pipleline AWS Lambda deployment
- Share variables across stages in azure pipelines with templates
- Can I move an Azure Data Factory Pipeline to Azure DevOps?
- How to migrate a single workitem in Devops
- Deploy Docker Image into AKS cluster using Azure Release Pipelines with the parameters like clustername, acr, resourcegroup
Related Questions in COMPARE
- requesting excel formula to compare columns but going in order and skipping blanks
- How to check for matches where fields are different?
- Case-insensitive map key where key is Pair<String, String>
- Dropping rows that do not match values from another column
- How to compare two integer fields in a model method in django?
- php: comparing string with boolean value
- Compare row values in excel and store time value in a variable
- Smart Compare json files
- Comparing two dataframes and highlighting the differences
- Python Pandas: Find the difference of two dataframe
- Comparing two data frames with condition and removing all that not qualified
- Query to compare two comma separated number string
- I wonder what is impact of xml and csv on google bot?
- Compare Nmea line in a single file
- check status connected nordvpn bash script
Related Questions in AZURE-REPOS
- Is There Anyway To Retrieve The Label/Tag of a PR After Merged to Main?
- Unable to copy and apply a branch policy from one repo to another repo in azure devops
- Unlink commits/Files during creating a Pull request from One branch to other
- Force Azure DevOps Pull Request update after Manually Update SonarQube issue as Won't Fix
- ignore folder when pull request to master
- Is it possible to acquire an access token for app service with a system-assigned managed identity?
- Unable to view the Complete and set auto complete options in Azure repo Pull request, even though there is no conflicts
- How to Retrieve a List of Azure DevOps Repositories Sharing Similar Branch Policies on their Develop Branch?
- Want to push python file from Azure Repo to Databricks Workspace Using CICD
- Can't push to new branch on azure using git: The file pushed differs in case
- In schema compare, some files erroneously appear as missing in the local DB compared to Azure SQL Server DB. Only a few files are affected, not all
- How to lock a file in Azure Repository
- Release pipeline powershell task to use a file in azure repository for temp download of file (how to story)
- Gitlab flow Long lived environment branches in Mono Repo keeps growing commit log on Pull Request in Azure repos
- Cross Search in all repositories and branches in Azure Devops Repos
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)


Sorry, Azure Devops UI doesn't provide that feature.
I'm afraid you'll have to resort to other comparing tools.