Skip to content

All gitignore paths should start with a slash #389

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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