mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 03:38:23 +00:00
git worktree prune removes the metadata directory as a whole, but the agent sandbox pins config.worktree and commondir as read-only bind mounts, so the unlink fails with EBUSY and the stale entry keeps claiming its branch. Dropping gitdir and HEAD unregisters it without needing the pinned files gone.