OpenReplay Logo
12k
12k

gitignore generator

Build a .gitignore file by picking your languages, frameworks, operating systems and editors. Templates are bundled locally and merged with duplicates removed — copy or download.

Choose templates
.gitignore
Built locally

About this tool

A .gitignore file tells Git which files to leave untracked — build artifacts, dependency folders, editor settings, OS cruft and secrets. This generator lets you combine curated templates for common stacks (Node, Python, Go, Rust, Java and more) with OS and editor rules (macOS, Windows, Linux, VS Code, JetBrains), then merges them into a single clean file with duplicate lines removed.

Pick as many templates as you need; the result updates instantly and you can copy it or download it as a .gitignore. The templates ship with the tool, so nothing is fetched over the network — useful even offline. Each section is labelled with a comment so you can see where each rule came from.

Templates are bundled and merged locally — no network request is made.

Frequently asked questions

Can I combine several stacks?

Yes — that is the point. Select, for example, Node, macOS and VS Code, and the tool merges all three into one file, dropping any lines that would otherwise be duplicated.

Where do the templates come from?

They are curated, representative rule sets bundled with the tool — the lines that matter in practice for each ecosystem. They are not an exhaustive mirror of every upstream template, but cover the common cases.

How do I use the file?

Save it as .gitignore in the root of your repository (copy the output or use Download). Git applies it to untracked files; already-tracked files need git rm --cached to stop tracking.