Skip to content

Conversation

@mhucka
Copy link
Member

@mhucka mhucka commented Dec 8, 2025

This adds some more patterns to .gitignore for some of the tools known to be used by the TFQ developers. Although these sorts of common ignore patterns are better put in an individual user's global gitignore file (something that can be configured in git), it turns out that Gemini CLI also reads the .gitignore to determine what files to ignore in a project. Making the project .gitignore file more comprehensive thus helps us use AI code assistants more effectively.

This commit also adds an initial .geminiignore file for Gemini CLI. Gemini CLI reads .gitignore too, but .geminiignore takes precedence; this is essential for un-ignoring files that shouldn't be committed to git yet should be visible to Gemini CLI.

This adds some more files that are common for some of the tools known to
be used by the TFQ maintainers. Although common ignore patterns should
be put in an individual user's global gitignore file (something that can
be congigured in git), it turns out that Gemini CLI also reads the
`.gitignore` to determine what files to ignore in a project. Making the
project `.gitignore` file more comprehensive thus helps us use AI code
assistants more effectively.
@mhucka mhucka changed the title Update .gitignore file with more patterns Update .gitignore file and add a .geminiignore file Dec 8, 2025
@mhucka mhucka marked this pull request as ready for review December 10, 2025 23:52
@mhucka mhucka added the area/devops Involves build systems, Make files, Bazel files, continuous integration, and/or other DevOps topics label Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/devops Involves build systems, Make files, Bazel files, continuous integration, and/or other DevOps topics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant