Skip to content

All gitignore paths should start with a slash #389

@mk-pmb

Description

@mk-pmb

… to make it more predictable which files you meant to actually ignore. It might also improve performance.
If there is a pathname component, usually the better choice is to make a separate .gitignore file in that subdirectory.
If you really need infinitely recursive ignore rules, ( 1. you're probably doing it wrong and 2. ) explicitly start them with /**/… so people know it's not a mistake.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions