git cherry-pick applies one or more commits from another branch onto your current branch — without merging the entire branch:
git cherry-pick abc1234 # apply one commit
git cherry-pick abc1234 def5678 # apply two commits
git cherry-pick main~2..main # apply last 2 commits from main
main immediately# If conflicts arise:
git cherry-pick --continue # after resolving
git cherry-pick --abort # cancel
The hotfix branch has a bug fix commit. Cherry-pick just that commit onto main.
Click "Run" to execute your code.