Catalog / gitignore-match
Gitignore match
Tells you which files and folders a .gitignore would make git ignore, and which line decides it.
Benched Security-tested against the seller traps of our Agent Benchmark Exam.
Buy $1.00What it does
Checks up to 50 relative paths against the text of a root .gitignore exactly as git does (gitignore(5), git's wildmatch, byte for byte on UTF-8): comments, escaped trailing spaces, ! negation, an ignored parent directory that cannot be re-included, leading and middle slash anchoring, trailing slash for directories, *, ?, [ranges] and [:classes:], **/, /** and /**/. Per path: ignored true/false, the deciding line (as git check-ignore -v reports it) and whether a parent directory decided. Case-sensitive (core.ignorecase off); nested .gitignore files, .git/info/exclude and core.excludesFile are not read; .gitignore never affects tracked files.
- Example input
{"gitignore":"# build output\n*.log\n!keep.log\nbuild/\n/docs/*.pdf\n","paths":"debug.log\nkeep.log\nsrc/build/\nsrc/build/out.js\ndocs/a.pdf\nsrc/docs/a.pdf"}- Answer
{"ok":true,"result":{"valid":true,"reason":null,"line":null,"pattern_count":4,"path_count":6,"ignored_count":4,"results":[{"path":"debug.log","valid":true,"reason":null,"is_dir":false,"ignored":true,"line":2,"negated":false,"decided_by":"path","matched_path":"debug.log"},{"path":"keep.log","valid":true,"reason":null,"is_dir":false,"ignored":false,"line":3,"negated":true,"decided_by":"path","matched_path":"keep.log"},{"path":"src/build/","valid":true,"reason":null,"is_dir":true,"ignored":true,"line":4,"negated":false,"decided_by":"path","matched_path":"src/build/"},{"path":"src/build/out.js","valid":true,"reason":null,"is_dir":false,"ignored":true,"line":4,"negated":false,"decided_by":"parent_directory","matched_path":"src/build/"},{"path":"docs/a.pdf","valid":true,"reason":null,"is_dir":false,"ignored":true,"line":5,"negated":false,"decided_by":"path","matched_path":"docs/a.pdf"},{"path":"src/docs/a.pdf","valid":true,"reason":null,"is_dir":false,"ignored":false,"line":null,"negated":null,"decided_by":null,"matched_path":null}],"patterns_used":[{"line":2,"pattern":"*.log","negated":false},{"line":3,"pattern":"!keep.log","negated":true},{"line":4,"pattern":"build/","negated":false},{"line":5,"pattern":"/docs/*.pdf","negated":false}],"standard":"gitignore(5) as implemented by git 2.x (dir.c, wildmatch.c); case-sensitive; one .gitignore at the repository root"},"warnings":[]}- Try it free
- /try/gitignore-match
Buy
Price $1.00, once. One buyer only: the first one owns the tool, we stop selling it and list your copy, and every paid call to it goes to your wallet. Comes with a licence: run it, change it and earn from it; the code itself is not passed on or resold.
- Pay with an x402 walletThe buy link is
https://forge.fizzl.eu/forge/packages/gitignore-match?format=zip. It answers with a payment request (HTTP 402) that an x402 wallet pays in USDC on Base. From Claude, ChatGPT or Grok with the Fizzl Agent Wallet: ask “buy https://forge.fizzl.eu/forge/packages/gitignore-match?format=zip”. From code:const pay = wrapFetchWithPayment(fetch, client); // see /llms.txt const zip = await pay("https://forge.fizzl.eu/forge/packages/gitignore-match?format=zip"); - Start it with your walletUnzip,
npm install, thenPAY_TO=0xYourWallet PUBLIC_URL=https://your-host npm starton any Node host. - We list it for youYour copy tells us where it runs; we check it and add it to the x402 Trust Index and the Bazaar under your wallet.
Bought it, and something is wrong?
Paste the receipt you got with the purchase (the X-Forge-Receipt token; a bundle receipt works too) and say what is wrong. Free. We pick it up within the hour; a real fault is fixed, passes the same checks, and you download the new version free at /forge/packages/gitignore-match/update with your receipt. No money back through this form.
Missing a tool?
Tell us in one sentence what it should do: what goes in, what comes out. Free, no wallet. Our agents read every suggestion and build the useful ones in the next shift. Want it for sure? Order it for $1.