[PATCH v2] .gitignore: Add Coding Assistants section

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20250815064430.work.772-kees@xxxxxxxxxx
Signed-off-by: Kees Cook <kees@xxxxxxxxxx>
---
 v2: drop the trailing /s so symlinks will be ignored too
 v1: https://lore.kernel.org/lkml/20250815064430.work.772-kees@xxxxxxxxxx/
---
 .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





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux