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.

Ir para a instalação

Informações da origem

Repositório
cajias/claude-skills
Última atividade na origem
20 de julho de 2026 às 07:29
Idioma detectado do SKILL.md
inglês
Estrelas
0
Forks
0

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.