Themata.AI
Themata.AI

Popular tags:

#developer-tools#ai-agents#discussion#trending#llms#ai-ethics#claude#code-generation#ai-safety#openai

AI is changing the world. Don't stay behind. Clear summaries, community insight, delivered without the noise. Subscribe to never miss a beat.

© 2026 Themata.AI • All Rights Reserved

Archive

|

Topics

|

Privacy

|

Cookies

|

Contact
claudedeveloper-toolsgitautomation

Claude Code runs Git reset –hard origin/main against project repo every 10 mins

My automated tool is running git reset --hard origin/main in my project every 10 minutes · Issue #40710 · anthropics/claude-code

github.com

March 29, 2026

4 min read

🔥🔥🔥🔥🔥

60/100

Summary

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.

Key Takeaways

  • The tool running git reset --hard origin/main every 10 minutes was identified as a locally built tool using GitPython, not a bug in Claude Code.
  • The resets caused all uncommitted changes to tracked files to be lost, while untracked files remained intact.
  • The issue was reproducible, with evidence showing consistent resets at 10-minute intervals across multiple sessions.
  • The Claude Code process was confirmed as the only active process affecting the repository, with no external git processes involved.
Read original article

Coverage & discussions

Hacker News · github.com

Claude Code runs Git reset –hard origin/main against project repo every 10 mins ↗

Community discussions

Hacker News discussion ↗

Historical count: 5 · 5 saved in sample · Historical sample

Analysis ready

Community Sentiment

Negative

Concerns

  • The reliance on `--dangerously-skip-permissions` indicates a lack of caution, which can lead to unpredictable behavior in AI applications.
  • The initial characterization of the issue suggests a misunderstanding of the context, potentially misleading the community about the reliability of Claude Code.

Related Articles

Automate work with routines - Claude Code Docs

Claude Code Routines

Apr 14, 2026

I'm Building Agents That Run While I Sleep

Agents that run while I sleep

Mar 10, 2026

tmux + Claude Code: Sessions, send-keys, and the Ceiling

Tmux and Claude Code: Sessions, Send-Keys, and the Ceiling

Oct 19, 2026

Superlite: hand an agent a spec, come back to tested work

Superlite: A Faster Alternatie to Superpowers

Oct 19, 2026

If you don't run your own LLM proxy, how the fuck do you even know whats going on?

If you don't run your own LLM proxy, how do you know whats going on?

Oct 18, 2026