#source #https://jasonmccreary.me/articles/made-git-commit-wrong-branch/ git reset HEAD~ --soft git stash git checkout destination-branch git stash pop git add . git commit -m $MESSAGE