Skip to content

File Ops And Macos

macOS Icon File Can Corrupt .git/refs

From legacy section: WordPress MCP / sites.json

Pattern: macOS dropped an Icon\r file into .git/refs/ causing git fetch to fail with "did not send all necessary objects." Rule: If git fetch fails with a cryptic refs error, run find .git/refs -name 'Icon*' -delete then retry. Date: 2026-04-22