Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

diff range of commits in pull request

Søren Jacobsen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 13, 2019

In a bitbucket pull request you can pick a specific commit to view the diff of, and sometimes (such as if you review a branch that then is updated and you need to review these updates) you can review all commits from one specific commit and forward.

My questions are:

Can I show the diff of a range of commits (say the middle 3 of a 9 commit update)?

And if so where do I find the documentation of this?
And if not, where do I find the documentation of the feature where you can see all commits newer than a specific one?

1 answer

0 votes
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 17, 2019

Hello Søren and welcome to the Community!

Bitbucket does not presently have this built into the UI itself. There is a feature request which would bring this functionality into the product. You may find that feature request at BSERV-2550. We would suggest you vote and watch this request to receive future updates.

With this said, Sourcetree does offer the ability to review diffs of multiple commits by reviewing the logs within Sourcetree. You may find more about Sourcetree at Repository history and code diffs.

I hope this proves helpful along with insight into the feature request to allow for this.

Regards,
Stephen Sifers

Harshit Gupta December 22, 2024

Hi @Stephen Sifers and Atlassian Team,

Although this option works, I was looking for the diff option available within pull request from this link:image.png

It's like pulls/<number>/commits/<hash>?since=<base_hash> in URL.

Could this be enabled within diff view too while selecting Commits from within a dropdown by enabling selection of multiple commits using Shift/Ctrl + commit click?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events