Rebase a branch onto its parent's current tip, then recurse into its children.
Uses the stored base SHA as the --onto upstream so only the
branch's own commits are replayed. The base is refreshed after a successful
rebase. On conflict, the original git output is surfaced and the process exits
with recovery instructions.
Parameters
branch: string
The branch to restack (its descendants are restacked too).
Rebase a branch onto its parent's current tip, then recurse into its children.
Uses the stored base SHA as the
--ontoupstream so only the branch's own commits are replayed. The base is refreshed after a successful rebase. On conflict, the original git output is surfaced and the process exits with recovery instructions.