A systematic collection of
.gitignoretemplates — from single-file framework templates to multi-template combinations covering your entire toolchain.
Online generator: gitignores.com
Pick the approach that matches your project.
Pick one file from frameworks/. Done.
Framework templates are self-contained — they bundle security, language, and tool patterns into a single file.
cp frameworks/react.gitignore .gitignoreWhat's inside: security patterns → build artifacts → dependencies → framework-specific patterns → testing artifacts.
Pick a language template, add security, then layer tools, IDEs, and OS patterns as needed.
cat languages/python.gitignore \
common/security.gitignore \
tools/docker.gitignore \
ides/visual-studio-code.gitignore | sort -u > .gitignoreFramework + Language = NEVER. Frameworks already contain language patterns. Combining them creates duplicates.
Download a single template:
curl -o .gitignore https://raw.githubusercontent.com/ronald2wing/.gitignores/master/frameworks/react.gitignoreClone and use locally:
git clone https://github.com/ronald2wing/.gitignores.git ~/.gitignores
cp ~/.gitignores/frameworks/react.gitignore .gitignoreUse the web generator: gitignores.com
| Category | Count | Purpose | Pick when |
|---|---|---|---|
| Frameworks | 34 | Self-contained, security-first | Using React, Django, Rails, etc. |
| Languages | 31 | Language patterns (modular, no security) | Custom stacks needing granular control |
| Tools | 37 | Build tools, CI/CD, package managers | Adding Docker, GitHub Actions, etc. |
| IDEs | 14 | Editor config and cache | VS Code, IntelliJ, Vim, etc. |
| Common | 7 | Shared patterns (security, cache, logs) | Always pair with language templates |
| OS | 3 | OS-specific artifacts | Cross-platform teams |
| Platforms | 3 | Platform development patterns | Android, iOS, Unity |
cat frameworks/react.gitignore \
ides/visual-studio-code.gitignore | sort -u > .gitignore# Python data pipeline with Docker and GitLab CI
cat languages/python.gitignore \
common/security.gitignore \
tools/docker.gitignore \
tools/gitlab-ci.gitignore | sort -u > .gitignore# Next.js, Docker, GitHub Actions, VS Code, cross-platform OS
cat frameworks/nextjs.gitignore \
tools/docker.gitignore \
tools/github-actions.gitignore \
ides/visual-studio-code.gitignore \
os/linux.gitignore \
os/macos.gitignore \
os/windows.gitignore | sort -u > .gitignoreFramework or language template? Framework = you're using a named framework (React, Django, Laravel). Language = you're mixing tools at a lower level.
Why doesn't the Python template include security patterns?
Language templates are pure — only language patterns. Security lives in common/security.gitignore so it's shared without duplication.
My .gitignore isn't working. See AGENTS.md §Troubleshooting for a complete diagnostic workflow.
How do I request a new template? Open an issue. Check existing templates and open issues first.
See CONTRIBUTING.md for the contribution lifecycle.
See TEMPLATE_STANDARDS.md for the template design system.
See AGENTS.md for the repository operations manual.
Repository: github.com/ronald2wing/.gitignores