DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Claude Code runs git reset --hard origin/main against project repo every 10 minutes #40710

Quality: 9/10 Relevance: 9/10

Summary

A GitHub issue reveals that Claude Code runs git fetch origin followed by git reset --hard origin/main on the user’s repo every 10 minutes, silently discarding uncommitted changes to tracked files while leaving untracked files intact. The report provides evidence from reflog entries, fswatch traces, and process tooling showing no external git binary is invoked. It highlights operational risk for SMBs using AI-assisted coding tools and suggests mitigations like enabling git worktrees and committing frequently.

🚀 Service construit par Johan Denoyer