Skip to content

Cherry-pick a commit to a release branch

Checkout release branch:

Terminal window
git checkout releases/${{ VERSION }}

Create branch from release branch:

Terminal window
git checkout -b feature/${{ BRANCH }}

Cherry-pick commit from develop (-x will add info about source commit):

Terminal window
git cherry-pick -x ${{ COMMIT }}
git push --set-upstream origin feature/${{ BRANCH }}

Create PR from feature branch to release branch.