Skip to content

Custom Mask for .git in CliRunner #172

@honzakral2

Description

@honzakral2

Version: v3.5.2

Hi,
I’m having an issue with the ignoreMasks in CliRunner. The mask '.git*' ignores all .git files and directories, including those that start with git, such as gitlab-ci.yml.

Here’s the relevant code:
public array $ignoreMasks = ['*.bak', '.svn', '.git*', 'Thumbs.db', '.DS_Store', '.idea'];

I need to:

  • Ignore .git directories and files.
  • Ensure files like gitlab-ci.yml are not ignored.

I’m struggling to find the correct mask to achieve this. Is it possible to configure this using the ignore key or another method without listing files explicitly?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions