[llvm] [.gitignore] Ignore .claude and .gemini in subdirectories (PR #167029)

Jonas Devlieghere via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 7 14:22:23 PST 2025


https://github.com/JDevlieghere created https://github.com/llvm/llvm-project/pull/167029

Currently `.claude/` and `.gemini/` are only ignored in the root of the repo. Developers might conceivable run these tools in project subdirectories, in which case these should be ignored as well.

>From af77854cc953f699ff30577e9e714e4ff233bfed Mon Sep 17 00:00:00 2001
From: Jonas Devlieghere <jonas at devlieghere.com>
Date: Fri, 7 Nov 2025 14:20:32 -0800
Subject: [PATCH] [.gitignore] Ignore .claude and .gemini in subdirectories

Currently .claude and .gemini are only ignored ignored in the root of
the repo. Developers might conceivable run these tools in project
specific subdirectories, in which case these should be ignored as well.
---
 .gitignore | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index 860b8ea12abd4..a9d616286adf1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -54,9 +54,9 @@ autoconf/autom4te.cache
 /cmake-build*
 # Coding assistants' stuff
 /CLAUDE.md
-/.claude/
+.claude/
 /GEMINI.md
-/.gemini/
+.gemini/
 
 #==============================================================================#
 # Directories to ignore (do not add trailing '/'s, they skip symlinks).



More information about the llvm-commits mailing list