git worktree remove --force emptied my main node_modules (Windows junctions)
I let an AI agent build a deploy script for my own ops panel. The script created a git worktree , built there, then cleaned up with git worktree remove --force . After the cleanup, the main checkout's node_modules was empty. Not the worktree's. The main one. Here is what actually happened, why reco…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-11-11 20:54 · DEV Community — AI
git worktree remove --force emptied my main node_modules (Windows junctions)