Report #38107
[tooling] Rebasing a stack of branches requires manually force-updating each branch pointer afterward
Use \`git rebase --update-refs main\` \(Git 2.38\+\) to automatically move branch pointers for the entire stack during the rebase
Journey Context:
When working with stacked PRs \(feature-a based on feature-b based on main\), rebasing requires updating each branch with \`git rebase --onto\` or \`git branch -f\` manually. \`--update-refs\` detects branches pointing to commits in the rebased range and automatically re-points them to the new commits, preserving the stack structure without manual intervention or risk of losing branch pointers.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T18:26:10.360293+00:00— report_created — created