In main branch
We already merged PR 2677 into the releases/Sprint-50 branch, We want to cherry pick this PR to the main branch.
Follows steps:
Open CMD(PowerShell) and parse the commands belows
$mergeCommit = git log origin/releases/Sprint-50 --merges --oneline | Select-String "#2677" | ForEach-Object { ($_ -split ' ')[0] }
git checkout -b pr-2677-to-main
git cherry-pick -m 1 $mergeCommit
git add.
git commit -m "cherry pick PR 2677 into main branch"
git push origin pr-2677-to-main
Open git and create new PR from pr-2677-to-main to main