Header Ads Widget

Responsive Advertisement

Ticker

6/recent/ticker-posts

How to Cherry-Pick your develop or master Branch changes to your release branch in Bitbucket Repo

How to cherry-Pick your changes on Bitbucket repo: Step by Step Guide:


Step-1 – Select your release branch where you want to cherry pick the changes in VS-2022 -> take latest -> then create one new branch on release branch.

For e.g.

This is my release branch: release/ABC26.1.1

So, I created new branch on this release branch like: Release_ABC_15570_15547_15492

In this branch I want to cherry pick all my changes.

 

Step-2 - In VS-2022 - Go to Tools –> Command Line -> Developer Command Prompt


Step-3: Make sure you are on target release branch: use below command for verify

git checkout Release_ABC_15570_15547_15492

 

Step-4: Get all merged commit id which you want to cherry pick: use below command:

If you want to check commit id is merged or not, then refer below command:

git show --summary d1d5db2

git cherry-pick -m 1 bab51c3

git cherry-pick -m 1 d1d5db2

git cherry-pick -m 1 afe3ad0

 

Step-5 – Now your cherry pick changes will reflect in your target release branch – just push it -> Create PR if everything ok.

Post a Comment

0 Comments