Sunday, July 26, 2026

Compare Commits Easily in Azure DevOps with the New UI Feature

Troubleshooting software bugs often involves comparing commits to identify the changes introduced between two points in the project's history. This is one of the most common techniques used by developers to investigate regressions, validate fixes, and understand the impact of code changes.

Azure DevOps now provides a built in UI to compare commits, eliminating the need to manually construct comparison URLs. In this blog post, we'll explore how to use this feature to compare commits and review the differences between them.

Prerequisites

  • An Azure DevOps repository
  • Multiple branches or commits available for comparison


1. Navigate to Repos in your Azure DevOps project.

2. Select Branches from the left-hand menu.

3. Locate the branch you want to compare.

4. Click the three dots (⋮) next to the branch and select Compare branches.

5. This will open the Compare page, where you can select branches, tags, or commits for comparison.




6. On the Compare page, select the Commits tab in the version picker. Choose the commit you want to compare, and then compare it with a branch, a tag, or another commit to view the changes between them.


The new UI makes it easier to find changes and debug issues by comparing commits.

No comments:

Post a Comment