Git Ignore Pattern Tester

Your workspaceProcessed on your device

Treat the supplied rules as one root .gitignore file. Enter one path per line and end directory paths with a slash.

Undo: Ctrl/Cmd+Z · Redo: Ctrl/Cmd+Shift+Z or Ctrl+Y. Up to 20 steps and 4 million retained characters in this tab. Clear discards history.

A few things to know.

One root .gitignore and up to 1,000 lines or 100,000 characters per input. The report uses the supplied rules and paths. Git's tracked index and rules in other files or directories require a separate check in your repository.

  1. Paste root .gitignore rules and repository-relative paths, or open their UTF-8 files.
  2. End directory paths with a slash and choose ASCII case-insensitive matching if your Git settings need it.
  3. Select Test paths. Check the rule line and any blocked parent before exporting the report or the ignored path list.