.gitignore Generator
Generate a complete .gitignore for any language or framework — select multiple stacks and merge them into a single ready-to-use file.
Free · No credit card · 50 credits/day
What gets ignored — common categories
Dependency directories
node_modules/, vendor/, .venv/, __pycache__/, target/ — never commit dependencies; they are reproducible from a lock file.
Build outputs
dist/, build/, out/, *.class, *.o — generated files that should be rebuilt, not versioned.
Secret files
.env, .env.local, *.pem, credentials.json — the most important category; secrets must never be committed.
IDE and editor files
.vscode/, .idea/, *.suo, *.swp — personal editor settings that differ between developers.
OS junk files
.DS_Store (macOS), Thumbs.db (Windows), desktop.ini — OS metadata files that should never appear in repos.
Logs and temp files
*.log, *.tmp, coverage/, .nyc_output/ — runtime-generated files that change constantly and should not be tracked.
Frequently asked questions
Related dev tools
More tools for project setup and Git workflow.
Stop committing files that shouldn't be there
Free account. 50 credits per day. Access to 75+ tools instantly.
Create free account →