Skip to main content

.gitignore Generator

Generate .gitignore files for any language, framework, or tool.

gitignoregitgenerate
Read the guide
Shortcuts:⌘ KSearch

Select Technologies

Frequently Asked Questions

If I select Node and React, will it remove duplicate patterns automatically?

No. The generator simply concatenates each selected template into its own section, so overlapping lines like node_modules/ or .env can appear more than once.

Can I add custom ignore rules or ! negation patterns in the UI?

Not with this tool. It only outputs the built-in technology templates, so custom patterns and re-include rules would need to be added manually after you copy or download the file.

Does it regenerate as I tick checkboxes, or only when I press Generate?

Both paths work. There is a Generate button, but checkbox changes also trigger regeneration automatically.

Will the downloaded file have comments separating each stack?

Yes. Each selected template is emitted as its own section headed by a comment like # Node or # Astro, then the raw ignore patterns follow underneath.

Are .env files included in these templates?

Often, yes. Many of the presets include .env or environment-related patterns, so it is worth reviewing the output before dropping it into a repo where you want different secret-handling rules.

Related Tools