-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't display gitignore message when .aider* is in the global gitignore #3072
Comments
It might be out of scope for aider, but it would also be nice if aider suggested a single global ignore rather than adding the ignore to every repo. See also https://sebastiandedeyne.com/setting-up-a-global-gitignore-file/. That would be a great multiplier for showing people the (IMO) right way. |
+1 The main reason I put aider's ignores into the global ignore instead of the repo ignore is because it's more to do with my own personal development environment and less to do with the project itself. |
I can second this, I'm trying aider at work on a shared repository that I shouldn't add arbitrary ignore rules to. Currently, aider shows me this prompt every time I start it. |
Thanks for trying aider and filing this issue. What do you have in your global ignore file? Aider checks for Also you can do |
This is my global gitignore file. It's got
It's configured via
|
The fix is available in the main branch. You can get it by installing the latest version from github:
If you have a chance to try it, let me know if it works better for you. |
This isn't fixed for me. Note that my repository is
|
What happens if you do this:
|
Oh, doh, you're right, I forgot that I |
I'm closing this bug report since it has been marked as 'fixed' for over 3 weeks. This issue should be resolved in recent versions of aider. If you find that this bug is still present, please feel free to reopen this issue or create a new one with steps to reproduce. Note: A bot script made these updates to the issue. |
Issue
When starting aider in a git repo that has no .gitignore, but the gitconfig has a global exclude file that already excludes aider files, it still asks to modify the current repo with .aider* gitignores.
In the gitconfig an excludes file can be specified as so:
If aider gitignores are in that file, it could skip prompting to modify the current project because effectively the person is already ignoring them.
Version and model info
aider 0.72.3
The text was updated successfully, but these errors were encountered: