I am trying to cherry-pick a commit from one branch to another. Consider the below scenario.
Branch A -> commit1 -> commit message "12345 Hello World"
I want to add a new message at the beginning of the commit message while doing cherry-pick. So after cherry-pick it should look like,
Branch B -> commit2 -> commit message "98765 ........"
Here 98765 is the extra message I want to add. From Git documentation I found a command "git cherry-pick --edit" but I didn't find any example to understand its proper use.