PSA: Clean up Codex git worktrees regularly to fix errors

NielsRogge · x · 2026-08-18

A user discovered that every Codex thread creates a git worktree (200MB each). After about 400 chats, the accumulated disk space caused status check failures, breaking Codex functionality. The fix involved using Cursor to clean up these worktrees and free up disk space.

Original post →

More from coding & agent

coding & agent channel →