Story
Claude Code runs Git reset –hard origin/main against project repo every 10 mins
1 report
1 website
1 discussion
Latest report
Overview
A tool built by a user was identified as the cause of automatic git resets every 10 minutes, utilizing GitPython to hard-reset the working directory on a polling cycle. The issue was mistakenly attributed to Claude Code, but it was a result of the user's local setup affecting the same current working directory.
Summary from github.com.
Reports
One report so far. Additional coverage will appear here when it is linked to this story.
Community reactions
Each reaction summarizes sampled comments from the linked discussion.
Hacker News · github.com
Historical count: 5 · 5 saved in sample · Historical sample
Analysis ready
Read this discussion’s reaction
Based on 5 sampled comments from this thread. Analyzed 2026-03-30.
- Concern: The reliance on `--dangerously-skip-permissions` indicates a lack of caution, which can lead to unpredictable behavior in AI applications.
- Concern: The initial characterization of the issue suggests a misunderstanding of the context, potentially misleading the community about the reliability of Claude Code.