This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the git category.
Last Updated: 2024-11-21
# Note: this doesn't grab all the commits there... just the most recent ones
git cherry-pick feature2
git cherry-pick -n feature2
A must be older than B below
git cherry-pick A^..B
# in zsh, quotes are needed:
git cherry-pick 'A^..B'