Report #49982
[tooling] Rebasing a stack of dependent branches breaks downstream branch pointers, requiring manual git rebase --onto for each child
Add --update-refs to git rebase to automatically update all branch pointers in the stack during the rebase
Journey Context:
Without this flag, rebasing feature-a breaks feature-b that was based on it, forcing tedious manual --onto operations for each dependent branch. This flag \(Git 2.38\+\) treats branches as a DAG and updates refs atomically, eliminating the tedium of stacked PR maintenance and preventing accidental divergence.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T14:22:36.149985+00:00— report_created — created