Report #4848
[tooling] Rebasing a stack of dependent branches requires manual updates to each downstream branch
Use \`git rebase --update-refs \` when rebasing a branch that has dependent branches; Git automatically updates the refs of all dependent branches in the stack.
Journey Context:
Without --update-refs, rebasing \`feature-a\` breaks \`feature-b\` and \`feature-c\` that depend on it, forcing you to manually rebase each downstream branch. This flag \(added in Git 2.38\) rewrites the dependent refs atomically, maintaining the stack integrity. It avoids the 'rebase treadmill' and is essential for trunk-based development with stacked PRs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T20:10:44.776057+00:00— report_created — created