.gitignore Generator
Generate a .gitignore file tailored to your language, framework, or editor in one click.
Selected:
How to Use
- Search or browse the list and select all languages/tools you're using.
- Selected templates combine automatically with duplicates removed.
- Copy the output or download it directly as .gitignore.
- Place the file in your project's root directory.
Frequently Asked Questions
QCan I combine multiple templates?
Yes — select as many as apply (e.g. Node + React + VS Code + macOS) and they'll be merged into one file with duplicate lines removed.
QWhat if my .gitignore already has custom rules?
Generate the template rules here, then manually append your project-specific custom ignores below the generated section.
QWhere does .gitignore go?
In the root directory of your Git repository, alongside your .git folder.
About This Tool
The .gitignore file tells Git which files and folders to exclude from version control — typically build artifacts, dependencies, and editor/OS-specific files. Templates are based on the widely-used GitHub gitignore collection patterns.