Skip to content

Add a .geminiignore file#1224

Open
mhucka wants to merge 1 commit intoquantumlib:mainfrom
mhucka:mh-add-geminiignore
Open

Add a .geminiignore file#1224
mhucka wants to merge 1 commit intoquantumlib:mainfrom
mhucka:mh-add-geminiignore

Conversation

@mhucka
Copy link
Contributor

@mhucka mhucka commented Mar 14, 2026

Tell Gemini CLI what it should or should not ignore. Takes precedence over .gitignore (which Gemini CLI also reads). This PR adds only one pattern for now: a pattern that Gemini CLI does not seem to handle correctly based on .gitignore alone.

@mhucka mhucka marked this pull request as ready for review March 14, 2026 05:04
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a .geminiignore file to specify file patterns that the Gemini CLI should ignore. The initial version adds a pattern for Emacs versioned backup files. My review identifies a misleading comment explaining the new pattern. The comment incorrectly states that a different pattern (*~) should have covered these files, which is not how glob patterns work and could cause confusion for future maintainers. I've suggested a correction to clarify why the new pattern is necessary.

@mhucka mhucka changed the title Add a file Add a .geminiignore file Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant