Skip to main content
>_devtools

.gitignore Tester

Paste .gitignore rules and file paths to see which are ignored and by which rule, including negation, anchoring, and parent directories.

Checks paths against .gitignore rules and shows which rule determines each result. Enter rules and paths or load the example to inspect negation, anchoring, and directory matches.

Example

Rules
*.log

Path
debug.log

Output
ignored by *.log

Limits and behavior

  • At most 10,000 paths are tested.
  • Nested ignore files and core.ignorecase settings are not combined.