git cherry-pick -n <SHA> will stage the changes but not commit them. You can then use git reset -p to unstage the bits you don’t want, or git reset HEAD and git add -Ap to stage only the changes you want.
git cherry-pick -n <SHA> will stage the changes but not commit them. You can then use git reset -p to unstage the bits you don’t want, or git reset HEAD and git add -Ap to stage only the changes you want.