37 lines
858 B
JSON
37 lines
858 B
JSON
{
|
|||
|
|
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
||
|
|
"permissions": {
|
||
|
|
"deny": [
|
||
|
|
"Bash(git push:*)",
|
||
|
|
"Bash(git merge:*)",
|
||
|
|
"Bash(git rebase:*)",
|
||
|
|
"Bash(git tag:*)",
|
||
|
|
"Bash(git reset --hard:*)",
|
||
|
|
"Bash(git clean:*)",
|
||
|
|
"Bash(git stash:*)",
|
||
|
|
"Bash(git remote set-url:*)",
|
||
|
|
"Bash(git config --global:*)",
|
||
|
|
"Bash(gh:*)",
|
||
|
|
"Bash(tea:*)",
|
||
|
|
"Read(./**/.env)",
|
||
|
|
"Read(./**/*.token)",
|
||
|
|
"Read(./**/credentials*)"
|
||
|
|
],
|
||
|
|
"ask": [
|
||
|
|
"Bash(git commit:*)",
|
||
|
|
"Bash(git switch:*)",
|
||
|
|
"Bash(git checkout:*)"
|
||
|
|
],
|
||
|
|
"allow": [
|
||
|
|
"Bash(git status:*)",
|
||
|
|
"Bash(git log:*)",
|
||
|
|
"Bash(git diff:*)",
|
||
|
|
"Bash(git show:*)",
|
||
|
|
"Bash(git branch:*)",
|
||
|
|
"Bash(git fetch:*)",
|
||
|
|
"Bash(git pull --ff-only:*)",
|
||
|
|
"Bash(git add:*)"
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|