Re:Rewrite Git history via drag-and-drop
by WolfeReader on Tuesday December 03, 2024 @03:33PM
(#42311008)
(Assuming you haven't already pushed to remote)
Create a new branch, called "preSplit", at the commit where you want to split. Take your actual branch and reset it to one commit prior. Grab the first set of changes you want from "preSplit" and commit. Repeat until each distinct set of changes has its own commit. If needed, rebase commits after "preSplit" onto your current branch.
Create a new branch, called "preSplit", at the commit where you want to split. Take your actual branch and reset it to one commit prior. Grab the first set of changes you want from "preSplit" and commit. Repeat until each distinct set of changes has its own commit. If needed, rebase commits after "preSplit" onto your current branch.
I'll do it for you, for a modest fee!