Cherry Pick
On this page
Cherry picking is taking a single commit from one branch and adding it as a new commit on another branch. The rest of the commits in the source branch are not added to the target. You should cherry-pick a commit when you need the change contained in a single commit without merging the source branch into the target branch.
Things to note
When cherry picking a commit, ensure that
Add commit reference to commit message
is checked. This adds a message in the new commit that points back to the original commit that you are cherry picking from.https://docs.gitlab.com/ee/user/project/merge_requests/cherry_pick_changes.html