Multi-Repo Sync Diagnosis and Repair When bulk operations fail across multiple repos, diagnose failures in parallel by isolating each repo's specific state (ahead/behind, working tree changes, submodule status). Identify and clear stale lock files that block git operations. Handle untracked files that conflict with incoming changes by temporarily moving them aside before pull, then restoring after. For pre-commit hook failures (e.g., oversized files), selectively exclude problematic files and recommit rather than abandoning the entire staging. ---