Skip to content

Commit f3c9571

Browse files
chore: update claude config
1 parent 0272135 commit f3c9571

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed
Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,18 @@
1818
"permissions": {
1919
"defaultMode": "bypassPermissions",
2020
"allow": [
21+
"Bash(git status:*)",
22+
"Bash(git log:*)",
2123
"Bash(git ls-tree:*)",
24+
"Bash(git diff:*)",
25+
"Bash(git branch:*)",
26+
"Bash(git show:*)",
27+
"Bash(git remote:*)",
28+
"Bash(git tag:*)",
29+
"Bash(git reflog:*)",
30+
"Bash(git stash list:*)",
31+
"Bash(git rev-parse:*)",
32+
"Bash(git shortlog:*)",
2233
"WebSearch",
2334
"WebFetch(domain:github.com)",
2435
"WebFetch(domain:v2.tauri.app)",
@@ -38,6 +49,24 @@
3849
"Bash(bun run:*)",
3950
"Bash(ls:*)"
4051
],
41-
"deny": ["Bash(sudo:*)", "Bash(rm -rf /*)", "Bash(git:*)"]
52+
"ask": [
53+
"Bash(git commit:*)",
54+
"Bash(git push:*)",
55+
"Bash(git pull:*)",
56+
"Bash(git merge:*)",
57+
"Bash(git rebase:*)",
58+
"Bash(git reset:*)",
59+
"Bash(git checkout:*)",
60+
"Bash(git switch:*)",
61+
"Bash(git cherry-pick:*)",
62+
"Bash(git revert:*)",
63+
"Bash(git stash drop:*)",
64+
"Bash(git stash pop:*)",
65+
"Bash(git add:*)",
66+
"Bash(git restore:*)",
67+
"Bash(git clean:*)",
68+
"Bash(git rm:*)"
69+
],
70+
"deny": ["Bash(sudo:*)", "Bash(rm -rf /*)"]
4271
}
4372
}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
node_modules
33
git-staged.txt
44

5+
#claude
6+
./claude/settings.local.json
7+
58
# output
69
out
710
dist

0 commit comments

Comments
 (0)