commit-push-pr.md uses invalid git flag --branch (should be -b)
Resolved 💬 1 comment Opened May 23, 2026 by giruuuuj Closed Jun 23, 2026
Bug
The allowed-tools field in plugins/commit-commands/commands/commit-push-pr.md (line 2) and .claude/commands/commit-push-pr.md (line 2) includes 'Bash(git checkout --branch:*)'. Git does not have a --branch flag for git checkout. The correct flag to create a new branch is -b. This means the permission pre-approval will never match actual commands like 'git checkout -b feature-x'.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗