How do I move one commit from a branch to its parent? #1252
-
Given the following structure:
I would like to move the commit |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
👋🏻 IIUC, I think the easiest approach would be something like: git checkout split-1
git merge --ff-only split-2~
# and, to rectify fork point of split-1
git machete fork-point --override-to-parent Let know if it achieves your purpose! |
Beta Was this translation helpful? Give feedback.
👋🏻 IIUC, I think the easiest approach would be something like:
git checkout split-1 git merge --ff-only split-2~ # and, to rectify fork point of split-1 git machete fork-point --override-to-parent
Let know if it achieves your purpose!