Cherry pick using TortoiseGit
Solution 1:
- Open the log in a repository with the target branch checked out.
- Use the top-left blue branch name to select the source branch.
- Select the commit(s) you want.
- Right click and select Cherry Pick this commit.
Solution 2:
Considering 'release' branch is required to cherry-pick from 'master' branch, follow the steps as provided below:
Step 1: Checkout 'release' branch
Step 2: Click TostoiseGit -> Show log
Step 3: Filter Source Branch Commits to be Cherry-picked
On the Log Messages window, select the source branch from where the commits will be Cherry Picked (i.e. 'master' branch in this example). The branch selection can be done from top left of the 'Log Messages' window (as shown below)
Step 4: Select the Commits to be Cherry-picked
Finally select the commits and right-click the context menu to cherry-pick them.