Git Ignore Generator
Build a .gitignore file for your stack. Pick from 30+ templates covering languages, frameworks, editors, IDEs and operating systems, or choose a quick preset for Web, Mobile, Backend or Data/ML. Add custom patterns and download the file.
How to use
Pick your stack
Select templates for your languages, frameworks, editors and operating systems.
Use a preset (optional)
Quick presets cover common stacks like Web/JS, Mobile, Backend and Data/ML.
Add custom rules
Add extra patterns in the Custom rules field, one per line.
Download the file
Download the .gitignore file or copy the preview.
Combines curated templates with your custom rules. Deduplicates lines. Works offline.
Features
30+ templates
Languages, frameworks, editors, IDEs and operating systems.
Quick presets
Web, Mobile, Backend, Data/ML, OS/IDE, Infra — one click to select common combinations.
Deduplication
Combines templates and custom rules, removing duplicate lines automatically.
Search
Filter templates by name to find exactly what you need.
Common use cases
- Add a .gitignore to a new Node.js project
- Combine templates for a Python + VS Code + macOS stack
- Add project-specific ignore rules
- Fix a bloated repository by ignoring build artifacts