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
- Push mysql database script to server using git
- Git show's file path
- Git > diffs filtered, show only certain changed classes/files
- Pushing to git repository hosted by Visual studio online without entering user name and password
- How do I create my own Git branch to work on?
- Git init --bare giving error fatal: Out of memory? mmap failed: No such device
- Sub-directory into independent repository and later merge back into main repository
- How to find the Git Revision Hash in a synced SVN repo using SubGit?
- eclipse errors when try to change to master git branch
- How to have Heroku build my development branch on a staging server?
- Is "Merged in" a commit message created by bitbucket, or git?
- Git: Multiple projects under one directory
- Permission denied hg-git
- Is it possible to clone a private git repo without adding ssh keys
- Track file in master repository which is ignored in submodule
Related Questions in AZURE
- Why does Azure Auto-Scale scale go lower then minimum amount of instances?
- Data execution plan ended with error on DB restore
- Why does Azure CloudConfigurationManager.GetSetting return null
- Do I need other roles than Worker Role for a web site and service layer in Azure?
- Azure Web App PATH Variable Modification
- Azure Data Factory: LinkedService for AzureSql in failed state
- How To Update a Web Application In Azure and Keep The App Up the whole time
- Using Azure MobileServices library with my own LAN WebApi
- ionCube loader error on Azure IIS
- App crash (if closed) after click on notification
- How to get sql data bases instances in azure using java api
- I want to create file in azure share using python PUT requests but getting error signature not correct including headers
- Enabling OPTIONS method on Azure Cloud Service (to enable CORS)
- Redirecting subdomain to directory on Azure
- Kaltura account settings error
Related Questions in AZURE-DEVOPS
- Pushing to git repository hosted by Visual studio online without entering user name and password
- Generate folder structure of a changeset after checkin in VSO
- OpsHub Visual Studio Online Migration Utility Hangs on Creating Configuration
- Could not write destination file: Access to path 'd:\a\src\...\Web.config' is denied
- hosted build visual studio online
- VSTS Rest API Get WorkItems By Field Value
- xunit.runner.dnx on visual studio online no tests found
- OpsHub User Mapping Error
- Kick off mocha tests in Visual Studio Team Services Build
- Visual Studio Online - Build - There are agents that are capable of running the build, but they are not online
- on-premise TFS to VSO issues using OpsHub 1.2.0.000
- Git tag at the end of build on Visual Studio Online (Build vNext, hosted pool)
- Get Latest Version using command-line from VSO?
- Visual Studio Team Services workspace error
- How to cache credentials for VS online in posh-git?
Related Questions in COMPARE
- String Comparator Operator C++
- Compare two strings in vba excel
- How do I check if a time is between two times which are stored as Strings in Ruby on Rails?
- Diff on hibernate envers revisions
- Filter List based on another list
- Compare values of two vectors
- Retrieving aggregated results from two queries
- Comparison between vectors in matlab
- Scala set element uniqueness: What to implement for comparison of user defined classes?
- Perl comparing two hashes
- Compare two files and append the values, leave the mismatches as such in the output file
- How to compare two expressions with maxima?
- Most efficient way to print differences of two arrays?
- comparing two dates. Equal isn't working as well
- Python - Using a created list as a parameter
Related Questions in AZURE-REPOS
- Export git history of all files in a specific folder in Azure Repos for a specific date range
- Branch Policies in Azure DevOps
- How can I modify the state a work item is changed to after PR?
- Adding more than one links for a branch/pull request to an User Story in Azure Devops
- In Azure DevOps i like to use a remote Azure Repository for my YAML Pipeline, is this possible?
- AzureDev Repos, how to change target for pull request
- Azure Devops Show all repositories from the project
- Is it possible to create an alias for a repository URL in Azure DevOps?
- How to export Azure DevOps Services Branch Compare result?
- How can I create Build Validations on Azure DevOps branch policies for forks?
- Is there a way to override the Azure Repos name length limit of 64 characters?
- Azure Devops Repos compare file between two branches
- Why does Azure Repos sometimes shows my check-in(s) as Author = '--get.all'?
- How to update azure DevOps build definition source from azure repos to GitHub using rest api
- Trying to import GitLab repository to Azure repository but I am getting the below error
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.