Report #16447
[tooling] Rebasing a stack of dependent feature branches without manually updating each child branch
Use \`git rebase --update-refs main\` to automatically propagate the rebase through the entire branch DAG, updating all descendant branches in a single command.
Journey Context:
Without this flag, developers must manually rebase each dependent branch or use external tools like \`git-rebase-tree\`, which is error-prone and breaks the commit graph. The \`--update-refs\` flag leverages Git's reflog to rewrite dependent branch pointers atomically, preserving the integrity of stacked PR workflows \(common in Graphite, Sprout, or manual stacked PRs\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T02:44:09.801938+00:00— report_created — created