Report #66749
[tooling] Git rebase breaks stacked branch references requiring manual reset
Use \`git rebase --update-refs\` \(Git 2.38\+\) to automatically update branches pointing to commits being rebased
Journey Context:
Without this, rebasing a stack of dependent branches requires manually updating each branch pointer with \`git reset --hard\` or \`git rebase --onto\` chains. --update-refs automatically moves branch refs that point to commits being rebased, maintaining the stack integrity. This 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-20T18:30:56.968182+00:00— report_created — created