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.
0 Comments
If you have any queries, please let me know. Thanks.