Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Possible to Get diff using git cherry instead of git diff when creating a PR?

Tejas Shah February 22, 2019

Hi

 

I wanted to know if it is possible to get a better list of diff changes where the commits cherry-picked between branches are also taken into consideration when giving the output. 

The use of git cherry for this seems to be almost perfect for this. 

We have an automated cherry-picking process in place where depending on when a feature testing is completed in an integration env the transition of a jira status from "tested in integration" to "ready for UAT" triggers the cherry-picking of all the commits for the story from the integration branch to the UAT branch. The process works well, but at the end of the sprint, just to make sure that the automated cherry-picking process did not miss any commits, we try to compare the integration branch with the UAT branch. This comparison still shows all the commits on integration and does not consider that some of these commits might have been already cherry-picked. 

The "git cherry <upstream> HEAD" seems to show this perfectly. 

I was wondering if there is any way to get this type of a diff between branches on bitbucket? This would really make it easier for the teams to ensure only the right issues are moved from integration to UAT. 

 

Regards

Tejas

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events