-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Is there a way to disable Claude's ability to run git commit? In my settings.json I have:
"permissions": {
"deny": [
"Bash(git commit:*)",
"Bash(curl *)",
"Bash(wget *)",
"Bash(ssh *)",
"Bash(sudo *)"
],
If I used Claude Code without the /x commands, it obeys it's permissions. When the slash commands in this repo, Claude happily ignores the permissions.
Short of forking this repo and removing any use of git commands, is there a way to disable git usage from the commands you implemented?
(FWIW aside from this, the commnands have been very helpful in doing my hobbiest development.)
Metadata
Metadata
Assignees
Labels
No labels