Compare branches, tags, and commits
Use Bitbucket Data Center and Server
- Importing code from an existing project
- Creating projects
- Creating repositories
- Clone a repository
- Personal access tokens
- Controlling access to code
- Workflow strategies
- Pull requests
- Bitbucket search syntax
- Manage webhooks
- Notifications
- Markdown syntax guide
- Requesting add-ons
- Set the default time zone
- Download a repository archive
- Creating a Contributions guidelines file
- Working with Git LFS Files
- Compare branches, tags, and commits
On this page
Related content
- The diff in pull requests is showing unrelated files after upgrade of Bitbucket Server or Data Center to 7.x or 2-way diff change.
- Comparison of a Pull Request Diff between Bitbucket Server and Data Center versions up to 6.x and from 7.x onwards
- Understanding Diff view in Bitbucket Server
- Bitbucket Server/Data Center shows diff between branches even after they are merged (using squash commit)
- Bitbucket Server/Data Center shows diff between branches even after they are merged (using squash commit)
- PR Diff shows different content from the actual file content in Bitbucket Datacenter
- How to find the commit that introduced an unexpected change in Bitbucket Server and Data Center
- How to diff arbitrary commits using REST API
- How to determine why there are fewer files in the diff view than the commit view - Bitbucket Server
- How to find the commit that introduced an unexpected change in Bitbucket Server and Data Center
You can quickly find revision changes using the Compare page.
Comparing revisions
To compare revisions in Bitbucket Data Center and Server:
- From the sidebar, click
Compare.
- In the Compare page, from both the Source and Destination dropdown, select any combination of branches, tags, or commits.
- Once selections are made, the comparison results display in a diff and a commits list tab.
Bitbucket uses git diff ...
A three-dot diff is a comparison between the commit where the feature branch was last synched with the destination branch and the most recent version of the feature branch.
A two-dot diff is the direct comparison of two committish references such as SHAs.
Last modified on Sep 8, 2021
Related content
- The diff in pull requests is showing unrelated files after upgrade of Bitbucket Server or Data Center to 7.x or 2-way diff change.
- Comparison of a Pull Request Diff between Bitbucket Server and Data Center versions up to 6.x and from 7.x onwards
- Understanding Diff view in Bitbucket Server
- Bitbucket Server/Data Center shows diff between branches even after they are merged (using squash commit)
- Bitbucket Server/Data Center shows diff between branches even after they are merged (using squash commit)
- PR Diff shows different content from the actual file content in Bitbucket Datacenter
- How to find the commit that introduced an unexpected change in Bitbucket Server and Data Center
- How to diff arbitrary commits using REST API
- How to determine why there are fewer files in the diff view than the commit view - Bitbucket Server
- How to find the commit that introduced an unexpected change in Bitbucket Server and Data Center
Powered by Confluence and Scroll Viewport.