Jujutsu: a new, Git-compatible version control system
Jujutsu: a new, Git-compatible version control system
Posted Jan 20, 2024 22:21 UTC (Sat) by apoelstra (subscriber, #75205)In reply to: Jujutsu: a new, Git-compatible version control system by madscientist
Parent article: Jujutsu: a new, Git-compatible version control system
If I want to split a commit, I need to (a) interactive rebase to the commit in question, (b) `git reset HEAD^` to remove the existing commit, (c) `git add -p` (or whatever) to construct the new commits.
In complicated cases I can imagine using temporary branches in step (c) or before step (a) to avoid losing work.
Is there a way to do this without the reset step?
