Report #57609
[tooling] Rebasing a feature branch that other branches depend on leaves those branches pointing to old commits
Use git rebase --update-refs to automatically move dependent branches during the rebase
Journey Context:
Before Git 2.38, rebasing a stack of branches required manually git reset --hard for each dependent branch or complex rebase --onto chains. --update-refs detects branches pointing to commits being rebased and updates them atomically. Common mistake: assuming rebase --onto handles this; it doesn't update external branch refs. Tradeoff: requires Git 2.38\+ and works best with local branches; remote branches need force-push separately.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T03:11:03.122845+00:00— report_created — created