The built-in commit-and-PR command can no longer use flags that rewrite history.
What's wrong with this entry?
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.
- Covers git commit message and
--amendand--no-verifyflags, force pushes and branch deletions,git add --forceand--chmod,git checkout -f, andgh pr create/gh pr editflags that change the repo, base, head or body. - Every pattern is registered for both
Bash(...)andPowerShell(...).
gh pr edit --body-file
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.234
A crashing slash command now tells you it crashed
Both mention slash command
-
v2.1.234
A command can decide from its arguments whether it counts as sensitive
Both mention slash command
-
v2.1.234
A slash-command grouping for a command that does not exist
Both mention slash command