Just discovered a commit was made to the wrong branch, but not pushed to origin. That same branch has had a lot of commits after it that have been pushed (by another developer).
How do I bring over just that one un-pushed commit to another branch (or get rid of it altogether)? I know I can cherry pick it over to somewhere else, but what is the best way to delete it afterwards without deleting all of the changes after it?
Using Gitkraken, but whatever will get the job done.