Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Web & CSS

.gitignore Generator

Pick your stack and get a sensible .gitignore covering dependency folders, build output, env files, logs and OS/editor cruft. The general block (DS_Store, Thumbs.db, logs, editor folders) is always included and lines are deduplicated.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

Options

Your result will appear here

Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.

How it works

What the generated file contains

Choose a stack and the tool prints a .gitignore body: the ignore patterns for that stack plus a general block with .DS_Store, Thumbs.db, *.log and editor folders. Lines are deduplicated in order, so a pattern shared by the stack and the general block appears once.

Starting a repository

Use it when you are initialising a project and would rather not hunt through another repo for the right lines, or when a teammate keeps committing an .idea folder. Pick Node.js for a JavaScript app, Python for a virtualenv-based service, and so on.

What each stack covers

Node brings node_modules, dist, coverage and .env with an exception for .env.example. Python brings __pycache__, .venv and the type-checker caches. Rust ignores /target, Go ignores /bin and vendor, Java Maven ignores target and class files. macOS, Windows, Linux, JetBrains and VS Code entries cover OS and editor cruft, and General only emits the shared block on its own.

It cannot untrack a committed file

The output is a suggestion, not a migration. .gitignore only affects untracked files, so anything committed earlier keeps appearing in git status until it is removed from the index.

Built from constants in the page

The pattern lists are constants shipped with the tool; no path, project name or repository detail is transmitted, and the generator runs without a network connection.

Questions

Does it untrack files already committed?

No. .gitignore only affects untracked files. Run git rm -r --cached . once (then commit) to stop tracking files that were committed before the rule existed.

Why does every stack include .DS_Store and Thumbs.db?

The general block with OS, log and editor patterns is appended to every stack except the General only choice, so the same cruft is covered whichever stack you pick.

Can I combine two stacks in one file?

No. The generator emits one stack per run. Generate each stack you need and paste the lines into a single .gitignore; repeated lines inside one run are already deduplicated for you.

See category