A collection of scripts to wrangle branches, especially in a stacked-diff context in repos where the main branch keeps updating.
These scripts handle "obsolete" commits, merged commits, and branching histories relatively intelligently. Stack structure and branching are preserved, and any rebase issues are flagged and gracefully aborted for that stack.
Requirements: Git 2.38+ (relies on rebase --update-refs).