{
"allowedTools": [
"Read",
"Write",
"Glob",
"Grep",
"Edit",
"Update",
"Create",
"Bash",
"Task",
"WebFetch",
"WebSearch",
"NotebookEdit"
],
"deny": [
"Bash(git push*)",
"Bash(git commit*)"
]
}
我是这样写的,但是每次Bash好像都没有起作用,还会问我要权限,难道是要写所有 Bash(cd:*) 、 Bash(ls:*) 这种吗?