.gitignore Generator

gitignore generator

Tick the languages, tools and operating systems you use and get a clean .gitignore, ready to copy.

Pick the languages, tools and operating systems your project uses and we'll assemble a .gitignore from sensible defaults.

▌ .gitignore

Skip the files Git shouldn't track

A good .gitignore keeps the noise out of your repository — build output, dependency folders like node_modules, virtual environments, editor settings and OS junk like .DS_Store. Forgetting it is how huge dependency folders and machine-specific files end up committed by accident. Select the technologies your project uses and this tool assembles a sensible starting .gitignore from well-established defaults.

Combine as many as you need

Real projects span several environments — a Node app edited in VS Code on a Mac, say — so tick every option that applies and the relevant rules are merged into one file with clear section headings. Drop it in your project root as .gitignore and commit it. You can always tweak it afterwards; this gives you a solid base instead of a blank page.

FAQ

Where do I put the generated file?
Save it as a file named .gitignore in the root of your repository and commit it. Git then ignores the matching files across the whole project.
Can I combine several languages and systems?
Yes — select everything your project uses and the rules are merged into one organised .gitignore with a section per choice.

Related tools