← Back to tools
.gitignore Generator
Select templates for your project stack to generate a comprehensive .gitignore file. Combine multiple templates and add custom rules.
0 templates selected
.gitignore Preview
Select templates to generate your .gitignore
About .gitignore
- .gitignore tells Git which files and directories to skip when tracking changes in your repository.
- Place the file at the root of your repository. Patterns apply recursively to all subdirectories.
- Lines starting with
#are comments. Use!to negate a pattern and re-include a file. - Trailing
/matches only directories.*matches anything except/,**matches everything including nested paths. - Everything runs in your browser — no data is sent over the network.