Repo Sync: Deleted Remote Branch + Unrelated History Recovery Use this when or equivalent multi-repo sync fails and the failing repos are not simply dirty/diverged. This pattern covers three recurring failure modes seen in workspace-hub subrepos: 1. local branch tracks a remote branch that was deleted 2. a stale blocks checkout/pull 3. local branch history is unrelated to the remote default branch, so fails with Symptoms Deleted tracked branch shows: Stale lock Unrelated histories Workflow 1. Diagnose the failing repo precisely For each failed repo: Also inspect remote default branch if neede…