Skip to content

Commit 271b5fa

Browse files
lvergroclaude
andcommitted
chore: add root .gitignore and deny rm flag variants
.gitignore covers settings.local.json, worktree/ and .worktrees/ so clones don't commit personal settings. Deny list now also catches rm -fr, rm -r -f and rm -f -r. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 5761f24 commit 271b5fa

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.claude/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"permissions": {
44
"deny": [
55
"Bash(rm -rf:*)",
6+
"Bash(rm -fr:*)",
7+
"Bash(rm -r -f:*)",
8+
"Bash(rm -f -r:*)",
69
"Bash(rm -rf /:*)",
710
"Bash(git push --force:*)",
811
"Bash(git push -f:*)",

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Personal/local Claude Code settings — never commit
2+
.claude/settings.local.json
3+
4+
# Local artifacts
5+
worktree/
6+
.worktrees/

0 commit comments

Comments
 (0)