Skip to main content

git-deadlock-plumbing-recovery

Diagnose and recover git operations that HANG / DEADLOCK at ~0% CPU on macOS (APFS) — git commit, git reset, git gc/repack, git push, and even git status never returning. Use when: (1) a git write op "takes forever" / never finishes; (2) `ps` shows the git process in interruptible sleep (STAT S/SN) with CPU TIME frozen across samples; (3) a stale 0-byte `.git/index.lock` is present; (4) `git push` stalls in "Counting objects" / `git repack -ad` hangs with an empty pack dir; (5) `git count-objects -v` shows thousands of loose objects and `packs: 0`; (6) the volume is near-full (`df` ~95%+); (7) `.git/index` went missing after an interrupted git op. Covers the plumbing-commit workaround (write-tree → commit-tree → update-ref) that bypasses the hanging working-tree refresh and hooks, index recovery via read-tree, and the real fixes.

Aller à l'installation

Informations de source

Dépôt
cajias/claude-skills
Dernière activité de la source
20 juillet 2026 à 07:29
Langue détectée de SKILL.md
anglais
Étoiles
0
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.