---
title: "Discussion on \"Three Claude Code data-loss incidents from destructive git in fourteen days, and a one-minute defense\" | Hashnode"
description: "Discussion on \"Three Claude Code data-loss incidents from destructive git in fourteen days, and a one-minute defense\". Three independent data-loss reports in fourteen days share the same shape: autonomous git checkout or worktree cleanup wipes uncommitted work without asking. Here is how to defend."
url: "https://hashnode.com/posts/three-claude-code-data-loss-incidents-from-destructive-git-in-fourteen-days-and-a-one-minute-defense/69fe78c210515f2b50bf0703"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Three Claude Code data-loss incidents from destructive git in fourteen days, and a one-minute defense](https://yurukusa.hashnode.dev/three-claude-code-data-loss-incidents-from-destructive-git-in-fourteen-days-and-a-one-minute-defense?utm_source=hashnode&utm_medium=feed)

Three independent data-loss reports in fourteen days share the same shape: autonomous git checkout or worktree cleanup wipes uncommitted work without asking. Here is how to defend.

May 8 · 6 min read · yurukusa.hashnode.dev  
Read the article

-   [#anthropic](https://hashnode.com/tag/anthropic)
-   [#claude-code](https://hashnode.com/tag/claude-code)
-   [#data-loss](https://hashnode.com/tag/data-loss)
-   [#git](https://hashnode.com/tag/git)
-   [#subagent](https://hashnode.com/tag/subagent)

## Written by

[yurukusa](https://hashnode.com/@yurukusa)

@yurukusa

  
[View profile](https://hashnode.com/@yurukusa)

Building free developer tools. 56 browser-based tools, all single HTML files.

Building free developer tools. 56 browser-based tools, all single HTML files. No npm, no build step.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
