LaunchDevelopersJune 19, 2026
Claude Code v2.1.183 enhances git command safety
Destructive git commands like git reset --hard are now blocked when not requested. git commit --amend is also blocked for commits not made by the current agent session.
Destructive git commands like git reset --hard are now blocked when not requested. git commit --amend is also blocked for commits not made by the current agent session.