gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Robust handling of .gitignore and .geminiIgnore by tools

Open jacob314 opened this issue 5 months ago • 3 comments

Currently .gitignore files are not handled robustly with many missing edge cases.

Similarly, we are lacking ways for users to properly leverage .geminiignore files to handle cases where their .gitignore file definition does not align with which files they want Gemini CLI to consider and ignore.

https://github.com/google-gemini/gemini-cli/issues/2539 is an issue that should be resolved if the other issues are resolved so it should be at the bottom of the list to be verified after the other tasks are addressed.

jacob314 avatar Aug 03 '25 23:08 jacob314

For anyone looking into these issues, perhaps some of these issues have been resolved by #3727 but were filed before it was merged. Checking if issues can still be reproduced would be worthwhile

psinha40898 avatar Aug 14 '25 19:08 psinha40898

Hello! As part of our effort to keep our backlog manageable and focus on the most active issues, we are tidying up older reports.

It looks like this issue hasn't been active for a while, so we are closing it for now. However, if you are still experiencing this bug on the latest stable build, please feel free to comment on this issue or create a new one with updated details.

Thank you for your contribution!

gemini-cli[bot] avatar Dec 03 '25 22:12 gemini-cli[bot]

Found possible duplicate issues:

  • #7330

If you believe this is not a duplicate, please remove the status/possible-duplicate label.

gemini-cli[bot] avatar Dec 04 '25 19:12 gemini-cli[bot]