Why .gitignore matters
A precise .gitignore keeps generated artifacts, local env files and editor noise out of version control.
Generate a deduplicated .gitignore by combining language, framework, OS and editor templates.
Updated
Combine language, framework, OS and editor presets.
Quick start
Pick stack templates and copy deduplicated ignore rules.
Choose language, framework, OS and editor presets.
Inspect the merged .gitignore rules.
Paste output into your repository .gitignore.
In-depth guide
Build a clean, deduplicated .gitignore file by combining common language, framework, OS and editor templates.
A precise .gitignore keeps generated artifacts, local env files and editor noise out of version control.
Commit shared editor configs intentionally (for example, recommended extensions) and ignore personal settings.
.gitignore at your repository root.Order matters in Git: a later !pattern can re-include a file an earlier rule excluded, which is how you ignore a whole folder but keep one file in it.
.gitignore only affects untracked files — if a secret or build artifact is already committed, adding it to the ignore file does nothing until you run git rm --cached. Trailing slashes match directories only, and a leading slash anchors a pattern to the repo root. The file is assembled locally in your browser; your template choices are never uploaded.
Use this tool for quick browser-based work when you need an answer or output immediately. Use a dedicated application or automated workflow when you need bulk processing, approvals, or repeatable production rules.
No. The output is deduplicated line by line while preserving stable order.
Yes. Select as many templates as needed, for example Node + React + macOS + VS Code.
Yes. Templates are bundled and merged locally in your browser.
.gitignore only affects untracked files. Run git rm --cached <file> to stop tracking something that was already committed.
Ignore the folder, then re-include the file with a negation: build/ then !build/keep.txt. Order matters.
Yes. A trailing slash like logs/ matches directories only, while logs matches both files and directories of that name.
Keep exploring
Hand-picked utilities that pair well with the one you're on — all free, client-side, and zero-signup.
Convert URL lists into valid sitemap.xml output with optional lastmod, changefreq and priority fields.
Generate SEO, Open Graph and Twitter tags from page metadata fields.
Search common Tailwind utility classes and view concise CSS behavior mappings.
Shrink PDF file size without uploading to a server.
Body Mass Index with metric / imperial inputs and WHO category bands.
Combine multiple PDFs into one in your browser.
Split a PDF by pages or page ranges, download as zip.