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.

Zur Installation springen

Quellinformationen

Repository
cajias/claude-skills
Letzte Quellaktivität
20. Juli 2026 um 07:29
Erkannte Sprache von SKILL.md
Englisch
Sterne
0
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.