jj-rebase
Move revisions to different parent(s). tldr-pages
On several platforms
Several platforms
Move given revisions to a different parent(s)
jj rebase --revisions revset --onto revsetIdentifyMove given revisions and all their descendants
jj rebase --source revset --onto revsetIdentifyMove all revisions in the branch containing given revisions
jj rebase --branch revset --onto revsetIdentifyMove revisions to before and/or after other revisions
jj rebase --revisions revset --insert-before revset --insert-after revsetIdentify