git log # leave this one open in a terminal, so you can copy-paste git commits' IDs git co -b $(git symbolic-ref --short HEAD)-backup-before-cherry-pick # always good to keep a backup! ^^ git co main git pull git branch -D [your branch name] # deletes your branch git co -b [your branch name] # we re-create a branch with the same name, from a fresh "main" git cherry-pick [your commit ID] # repeat for each commit :-) git please -u origin `git symbolic-ref --short HEAD`