AINewsnow

Claude Code deletes clean worktrees on exit without asking. git worktree lock stops it.

This story is from 2026-09-11. It is preserved in the archive; the latest stories are on the live feed.

TL;DR If you /exit a claude --worktree session with no uncommitted changes and no new commits , Claude Code removes the worktree and its branch without showing the Keep/Remove dialog. This is documented behavior, not a bug. There is no setting to turn it off. Claude Code holds its own git worktree…

Read the full story at DEV Community — AI ↗

Timeline · 1 report

  1. 2026-09-11 23:12 · DEV Community — AI
    Claude Code deletes clean worktrees on exit without asking. git worktree lock stops it.

More stories

  1. AI's role in building AI surging? Anthropic says Claude now leads 26% of its R&D — Mint AI
  2. Hackers Used Anthropic’s Claude to Break Into OpenAI — Wall Street Journal Technology
  3. Anthropic adds support for the AGENTS.md instructions spec to Claude Code; OpenAI contributed AGENTS.md to the Agentic AI Foundation last year (Thomas Claburn/The Register) — Techmeme
  4. Claude, Anthropic’s AI model, is helping to develop the next version of itself — Fast Company AI
  5. Minimax H3 template Missing. — r/comfyui
  6. OpenAI ‘ethically hacked’ with help of Anthropic’s Claude chatbot — The Guardian AI
  7. Anthropic says its chatbot Claude is taking over the work of building its own successor — Washington Post AI
  8. OpenAI Discloses Six New Incidents of ‘Concerning' A.I. Behavior — New York Times Technology

Get the daily brief of stories like this at 6:30 every morning →