opyebGlobLab
OPYEB · serverless static tool

See exactly which line decides that a file is ignored

Paste ignore rules and test paths and GlobLab returns the final decision for each path, the line number of the winning rule, and the conflicts behind it: a lower ! re-include neutralised by an excluded parent directory, a rule overridden by a later one, or an rsync rule that never runs because an earlier rule matched first. Click a path to walk through the evaluation step by step.

In one line: GlobLab evaluates .gitignore, GitHub Actions paths, Rsync and glob rules locally and points at the rule that won and the traps it walked into.

  • 100%runs in your browser
  • 4pattern engines
  • 6synthetic presets
  • 0uploads

① Rules and test paths

Pick an engine and put one rule per line. Every test path below is judged again as you type.

Local only

Blank lines and `#` comments are ignored. `!` re-includes; a later rule beats an earlier one.

End directory paths with `/`. File paths still evaluate their parent directory rules.

Synthetic presets

② Rules and verdicts per path

On the left, how each rule was read; on the right, the final verdict and winning line for each test path. Clicking a path updates the trace below.

Parsed rules

    Verdict per path

      ③ Evaluation trace

      Which rules were checked, in what order, for the selected path.

      ④ Summary and diagnostics

      Counts, plus rules that match no test path and rules that override each other.

      Rules that match no test path

        Conflicts and ineffective rules

          ⑤ Export the report

          Copy or download the current rules, paths, verdicts and trace as a Markdown table or JSON. Files are built in the browser and never uploaded.

          Markdown preview

          
          

          How it works

          Each engine implements its own precedence rules, and every evaluation stays inside your browser.

          Parse the rulesBlank lines, comments, negation, directory-only markers and anchoring (leading /) are separated while the original line number is kept.
          Evaluate each pathThe path and each of its parent directories are checked in rule order to find the last match (or the first match for rsync).
          DiagnoseVoided ! rules, overridden rules, pruned directories and forbidden combinations are reported.
          Trace and exportThe step-by-step evaluation of the selected path is shown, and the whole result can be exported as Markdown or JSON.

          Frequently asked questions

          Are my rules or paths sent to a server?

          No. This site has no server code, no API and no accounts. Parsing and evaluation run in your browser's JavaScript only, and your input is not sent to a server (advertising and affiliate widgets excluded). Input disappears when you close the page; only the theme choice is kept in localStorage.

          Why is a file still ignored after I re-include it in .gitignore?

          Because git never enters an excluded directory. If `dist/` excludes the directory, `!dist/app.js` is never even examined. Re-include the directory first with `!dist/`, or exclude at the child level with `dist/*` plus `!dist/app.js`.

          Why does rsync behave the opposite way?

          rsync walks the rule list from the top and stops at the first match, so an exclude like `- *` above your includes makes every include below it unreachable. The usual shape is: specific includes first, the catch-all exclude last.

          What happens if I use paths and paths-ignore together?

          The workflow syntax does not allow both keys in one trigger. Use negation inside `paths` to carve out exceptions, or use only `paths-ignore` when you just want to skip paths.

          What does `?` mean in GitHub Actions patterns?

          In Actions filter patterns `?` means zero or one of the preceding character, not one arbitrary character, and `+` means one or more. That differs from bash glob, where `?` is a single character.

          Is .dockerignore the same as .gitignore?

          The syntax is nearly the same, but the scope differs: .dockerignore patterns are evaluated against the build context root, a leading `/` has no special meaning, and the file decides what is sent to the image build.

          Can the verdict differ from real git or rsync?

          The core rules (order, `!`, parent directories, `**`, directory-only) follow the documentation and were cross-checked against the real `git check-ignore` CLI. Conditions that are not on this screen, such as global excludes files, core settings, or advanced rsync filter combinations, can still change the result. Confirm in the repository with `git check-ignore -v`.

          Are any patterns unsupported?

          Some POSIX bracket expressions (`[[:digit:]]`) and deeply nested `!()` extglob groups are handled only in a limited way. Such patterns are flagged in the diagnostics; treat the verdict as guidance for them.

          Ignore-rule field guides

          The two opposite precedence models, the parent-directory trap and the syntax differences that real incidents come from.

          0 bytes of your input sent to a server (advertising and affiliate widgets excluded)