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.
Reviewed-by: Tamir Duberstein <tamird@kernel.org>
Link: https://lore.kernel.org/r/20250815064430.work.772-kees@kernel.org
Signed-off-by: Kees Cook <kees@kernel.org>
---
v2: drop the trailing /s so symlinks will be ignored too
v1: https://lore.kernel.org/lkml/20250815064430.work.772-kees@kernel.org/
---
.gitignore | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/.gitignore b/.gitignore
index 929054df5212..8b9ccfa8e3b7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -183,3 +183,11 @@ sphinx_*/
# Rust analyzer configuration
/rust-project.json
+
+#
+# Coding assistants
+#
+/CLAUDE.md
+/.claude
+/GEMINI.md
+/.gemini
--
2.34.1