๐ซ .gitignore Generator
Select presets
.gitignore
# Node.js node_modules/ npm-debug.log* yarn-debug.log* yarn-error.log* .pnpm-debug.log* dist/ build/ .env .env.local # macOS .DS_Store .AppleDouble .LSOverride Icon ._* .Spotlight-V100 .Trashes # VS Code .vscode/* !.vscode/settings.json !.vscode/tasks.json !.vscode/launch.json !.vscode/extensions.json *.code-workspace
Combine commonly used presets โ Node.js, Python, Java, macOS, Windows, VS Code, JetBrains, React, Next.js, and more โ to generate a .gitignore file. Handy for quickly setting up the right exclusion rules when starting a new project.
How to use
- Click to select the presets you want to include (languages, frameworks, OS, editors, etc.).
- The content from your selected presets is combined and shown automatically.
- Use "Copy" to copy it to your clipboard, or "Download" to save it as a .gitignore file.
FAQ
Can I select multiple presets at once?
Yes, you can select as many presets as you need, and each one's content is combined into sections in the output.
How do I add my own custom exclusion patterns?
Download or copy the generated content, then add your own lines directly in a text editor.
Can I append this to an existing .gitignore?
Yes, copy the output and paste it at the end of your existing .gitignore file.