Skip to main content
TrueCourse honors .gitignore automatically, including nested .gitignore files, .git/info/exclude, and your configured global excludes file. Anything git ignores, analyze ignores.

.truecourseignore

For paths you want tracked in git but not analyzed (generated code, vendored snapshots, large fixtures), add a .truecourseignore at the repo root. Same syntax as .gitignore:
Patterns are anchored to the file’s location, so src/generated/ matches the top-level directory only; use **/generated/ to match at any depth.
.truecourseignore also narrows spec scan’s doc discovery: excluded markdown never enters the corpus. For a positive include-list on the spec scan (only these globs), see Scoping the scan.

Next steps

Guard your specs

The second capability: turn your docs into deterministic scenario tests.

Storage

Everything .truecourse/ holds, and what to commit.