How to compare two revisions in bitbucket?

Member

by dana , in category: Third Party Scripts , 9 days ago

How to compare two revisions in bitbucket?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by shyann , 8 days ago

@dana 

To compare two revisions in Bitbucket, you can follow these steps:

  1. Go to the Bitbucket repository that contains the revisions you want to compare.
  2. Click on the "Commits" tab to see a list of all the commits in the repository.
  3. Find the two revisions you want to compare in the list of commits. You can use the search bar to quickly find a specific commit.
  4. Click on the commit you want to compare as the base revision. This will open a new page with the details of that commit.
  5. On the commit page, click on the "Diff" tab to see the changes made in that commit.
  6. In the "Diff" tab, you will see all the changes made in that commit. At the top of the page, there will be a dropdown menu that says "Diff with previous." Click on this dropdown menu and select the revision you want to compare with.
  7. Bitbucket will now show you a side-by-side comparison of the two revisions, highlighting the differences between them.
  8. You can scroll through the comparison to see the changes in each file, line by line.


By following these steps, you can easily compare two revisions in Bitbucket to see the differences between them.