Skip to contentSkip to conversation

.gitignore: Add Coding Assistants section

PATCH New Kees Cook 1 participant 1 message Sep 9, 2025

Subsystems (2)
lore
Share & tools
lore

Kees Cook

author
#0 lore raw

PATCH v2 1/1 .gitignore: Add Coding Assistants section

Both Claude and Gemini save locally personalized configurations in their respective .md files and dot-directories. Since these are continuously updated by the developer (and agent) when working on projects, these files must be ignored, much like how we ignore the debian/ directory, etc.

---
v2: drop the trailing /s so symlinks will be ignored too
v1: https://lore.kernel.org/lkml/[email protected]/

---
 .gitignore | 8 ++++++++
 1 file changed, 8 insertions(+)
.gitignore +8 -0
index 929054df5212..8b9ccfa8e3b7 100644
@@ -183,3 +183,11 @@ sphinx_*/
 
 # Rust analyzer configuration
 /rust-project.json
+
+#
+# Coding assistants
+#
+/CLAUDE.md
+/.claude
+/GEMINI.md
+/.gemini
Signature · 1 line
2.34.1