Skip to content
Back to skills

Multi Repo Stale Lock Recovery

ASecurity

Diagnose and recover from stale git lock files in multi-repo workspaces, especially with submodules

  • 17 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
code-qualitydebugginggit

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add vamseeachanta/workspace-hub --skill multi-repo-stale-lock-recovery --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Multi Repo Stale Lock Recovery?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Multi Repo Stale Lock Recovery
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vamseeachanta-multi-repo-stale-lock-recovery/badge)](https://www.skillsdirectory.com/skills/vamseeachanta-multi-repo-stale-lock-recovery)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: multi-repo-stale-lock-recovery
description: Diagnose and recover from stale git lock files in multi-repo workspaces, especially with submodules
version: 1.0.0
source: auto-extracted
extracted: 2026-04-11
metadata:
  tags: ["git", "multi-repo", "debugging", "stale-locks"]
---

# Multi-Repo Stale Lock Recovery

When bulk operations fail across multiple repos with `.git/index.lock` errors, check for stale crashes from background processes (especially with submodules). Use `lsof` to verify no git process is actually running, then safely remove the lock file and retry. If the lock reappears immediately after cleanup, a background process may still be running — wait briefly and monitor with `ps` before retrying. In submodule-heavy workspaces, lock files in one repo can reference another's submodule path.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.