The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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

Tejas Shah
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events