+1

Allow choosing the default destination for new ignore rules

Patrick Lehmann 10 months ago updated 10 months ago 2

This is a followup / extension to:

    Currently, adding new ignored files will be stored in a local .gitignore file (local to the ignored file / same directory). It would be nice if the default option for the destination dropdown box could be selected in settings.

    Currently, I need to change the dropdown on every ignored file or pattern to .gitignore in the repository root.

    I'm wondering whether ".gitignore in repository root directory" would be appropriate default anyway?

    I don't know if it's a Windows Linux thing or if it depends on the client ontop of Git, but some "tools" don't support *.gitignore files in child directories.

    That's one reason why we have the style rule to store all ignores in the repository root's file. Another is to collect it at a prominent location, so you don't have "side effects".