You'll noticeTier: how much it should matter to you
4Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Slash CommandsArea: what it touches
ImprovementsKind: in v2.1.229,
What probably matters to youSection of the release
What
The built-in "Commit, push, and open a PR" command ships an explicit deny list, so Claude cannot reach for the flags that would rewrite history or redirect a PR while running it.
Details
Covers git commit message and --amend and --no-verify flags, force pushes and branch deletions, git add --force and --chmod, git checkout -f, and gh pr create/gh pr edit flags that change the repo, base, head or body.
Every pattern is registered for both Bash(...) and PowerShell(...).
Evidence
gh pr edit --body-file
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeChanged /commit-push-pr so git/gh commands with dangerous flags (--force, --amend, --no-verify, etc.) are no longer auto-approved