Skip to content

feat: ignore .gitignored files when running locally #281

@Kajiih

Description

@Kajiih

I think there should be a flag in the CLI version to ignore files in .gitignore.

Actually, it's probably even better to ignore them by default and add a --no-ignore flag. For example, fd does this:

> fd --help
...
-I, --no-ignore
          Show search results from files and directories that would otherwise be ignored by
          '.gitignore', '.ignore', '.fdignore', or the global ignore file, The flag can be
          overridden with --ignore.
...

Probably related: #147 and #111 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    suggestionNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions