Report #17104
[tooling] Managing stacked Git branches manually creates tedious chain rebasing
Use \`git rebase --update-refs main\` when rebasing a stack of dependent branches; Git automatically updates all downstream branch pointers without manual \`git rebase\` for each layer.
Journey Context:
Developers working with stacked PRs \(feature-a → feature-b → feature-c\) traditionally must rebase each branch individually after main moves, or use \`git rebase --onto\` chains. \`--update-refs\` \(Git 2.38\+\) treats branches as pointers into the rebased history graph, atomically moving them. This avoids the 'forgot to rebase the middle branch' error that breaks PR chains. Unlike \`git rebase --interactive\` with exec hooks, this requires no manual sequencing.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T04:25:25.060972+00:00— report_created — created