Re:Claude Code runs Git reset –hard origin/main against proj...
by mr_mitm on Monday March 30, 2026 @03:37AM
(#47571514)
You have the option to "always allow command `x.*`", but even then. The more control you hand over to these things, the more powerful and useful (and dangerous) they become. It's a real dilemma and yet to be solved.
It's on the people then, not the "agent". But why doesn't Claude come with a decent allow list, or at least remember what the user allows, so the spam is reduced?