Paste .gitignore patterns and file paths to see which files would be kept or ignored.
This tester helps debug .gitignore rules before committing generated files, build output or local secrets. Paste patterns and a list of paths, then review the matching rule for each path.
What it supports
The matcher covers common star, double-star, question mark, directory, anchored and negation patterns. It reports whether each path is kept or ignored and shows the last matching rule.
Scope
Git ignore behavior has edge cases, especially when a parent directory is ignored before a negated child. Confirm critical cases with git check-ignore in the repository.