Gitignore Generator

Generate .gitignore files based by project type, supporting multi-template combinations.

Select Templates

Custom Rules

Generated Result

Select a template or add custom rules to generate a .gitignore file

Usage Guide

Template Selection

Click template tags to select or deselect. Supports combining multiple templates (e.g., Node.js + Vue + macOS). Selected templates are merged into the .gitignore file.

Custom Rules

Enter ignore rules (e.g., *.log, temp/) in the custom rules field. Press Enter or click "Add" to append to the output. Click × on a rule tag to remove it.

Copy & Download

Click "Copy" to copy the generated result to clipboard (toast appears on success). Click "Download" to save as .gitignore file, ready to use in project root.