This generator builds a clean .gitignore file from ready-made templates so you stop copy-pasting from old projects. Pick the languages, operating systems and editors your project uses, and it assembles the right ignore patterns into one tidy, labelled file you can copy or download.
How it works
Each template is a curated block of ignore patterns bundled into the page. When you tick options, the generator concatenates the selected blocks under clear section headers — for example a # Node section followed by a # macOS section. Selecting nothing leaves the output empty; selecting several merges them in order. The result is plain text you can paste into a file named .gitignore at your repo root, where Git applies the patterns to every subdirectory automatically.
Example
For a typical Node project on a Mac edited in VS Code, tick Node, macOS, VS Code, and Env / secrets. The generator produces something like:
# Node
node_modules/
# macOS
.DS_Store
# VS Code
.vscode/
# Env / secrets
.env
.env.local
*.pem
*.key
| Template | Example patterns |
|---|---|
| Node | node_modules/ |
| Python | __pycache__/, .Python |
| macOS | .DS_Store |
| Env / secrets | .env, *.key, secrets.json |
| Terraform | .terraform/, state files |
Copy or download the result as a ready-to-commit .gitignore. All templates are bundled into the page, so everything runs in your browser with nothing uploaded.