Skip to content

Commit c0f6622

Browse files
committed
chore: standardize .gitignore with AI file exclusions
Add standard patterns to exclude AI-generated markdown files: - .claude/ directory - CLAUDE.md and CLAUDE.MD files - Top-level .md files with opt-in whitelist for documentation
1 parent 4c7f07a commit c0f6622

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.gitignore

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,20 @@ Thumbs.db
3131
# Log files
3232
*.log
3333

34-
# AI
35-
.claude
34+
# AI assistant files
35+
.claude/
36+
CLAUDE.md
3637
CLAUDE.MD
3738

39+
# Documentation (opt-in for top-level .md files only)
40+
/*.md
41+
!README.md
42+
!LICENSE.md
43+
!CHANGELOG.md
44+
!CONTRIBUTING.md
45+
!CODE_OF_CONDUCT.md
46+
!SECURITY.md
47+
3848
# Temporary files
3949
*.tmp
4050
*.temp

0 commit comments

Comments
 (0)