更新 Claude 权限设置
- 添加 git pull 命令权限 - 添加 git config 命令权限 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,11 @@
|
|||||||
{
|
{
|
||||||
"permissions": {
|
"permissions": {
|
||||||
"allow": [
|
"allow": [
|
||||||
"Bash(mkdir -p .github/workflows)"
|
"Bash(mkdir -p .github/workflows)",
|
||||||
|
"Bash(git pull:*)",
|
||||||
|
"Bash(git config pull.rebase false:*)",
|
||||||
|
"Bash(git add .claude/settings.local.json)",
|
||||||
|
"Bash(git commit:*)"
|
||||||
],
|
],
|
||||||
"deny": [],
|
"deny": [],
|
||||||
"ask": []
|
"ask": []
|
||||||
|
|||||||
Reference in New Issue
Block a user