LaunchDevelopersJune 19, 2026
Claude Code v2.1.183 improves git command safety
Destructive git commands (git reset --hard, git checkout -- ., git clean -fd, git stash drop) are now blocked unless user explicitly asked to discard local work. git commit --amend is blocked when commit wasn't made by the agent this session.