Report #84022
[tooling] Dependent feature branches get out of sync when rebasing a stack
Use \`git rebase --update-refs main\` to automatically propagate rebase operations through an entire stack of dependent branches, updating their pointers without manual intervention.
Journey Context:
Traditionally, developers using stacked branches \(e.g., branch-a → branch-b → branch-c\) must manually rebase each child branch after modifying a parent, which is error-prone and destroys branch relationships. The --update-refs flag \(Git 2.38\+\) treats the rebase as a tree operation: it rebases the current branch and simultaneously updates any refs that point to commits being rebased, keeping the stack intact in a single command.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T23:37:33.253711+00:00— report_created — created