[PATCH] .gitignore: Add Coding Assistants section

Kees Cook posted 1 patch 1 month, 2 weeks ago
There is a newer version of this series
.gitignore | 8 ++++++++
1 file changed, 8 insertions(+)
[PATCH] .gitignore: Add Coding Assistants section
Posted by Kees Cook 1 month, 2 weeks ago
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.

Signed-off-by: Kees Cook <kees@kernel.org>
---
 .gitignore | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.gitignore b/.gitignore
index bf5ee6e01cd4..0459a44a3d64 100644
--- a/.gitignore
+++ b/.gitignore
@@ -182,3 +182,11 @@ sphinx_*/

 # Rust analyzer configuration
 /rust-project.json
+
+#
+# Coding assistants
+#
+/CLAUDE.md
+/.claude/
+/GEMINI.md
+/.gemini/
--
2.34.1
Re: [PATCH] .gitignore: Add Coding Assistants section
Posted by Tamir Duberstein 1 month, 2 weeks ago
On Fri, Aug 15, 2025 at 2:44 AM Kees Cook <kees@kernel.org> wrote:
>
> 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.
>
> Signed-off-by: Kees Cook <kees@kernel.org>

Reviewed-by: Tamir Duberstein <tamird@kernel.org>

> ---
>  .gitignore | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/.gitignore b/.gitignore
> index bf5ee6e01cd4..0459a44a3d64 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -182,3 +182,11 @@ sphinx_*/
>
>  # Rust analyzer configuration
>  /rust-project.json
> +
> +#
> +# Coding assistants
> +#
> +/CLAUDE.md
> +/.claude/
> +/GEMINI.md
> +/.gemini/
> --
> 2.34.1
>