Cherry picking into branch2update
- Copy hash of the commit you want
git log - Switch to the branch you want to update:
git checkout branch2update - From
branch2update, create new branch:git checkout -b <new-branch> - Cherry pick commit:
git cherry-pick <hash-of-wanted-commit> - Push new branch:
git push --set--upstream origin <new-branch> - On Gitlab, open a MR into
branch2update