.gitignore Generator

AI-powered

Describe your stack in plain English, or pick from a list of common environments — get a clean, deduplicated .gitignore.

Languages
Frameworks
Build & env
.gitignore · 6 sections
# Node.js
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
lerna-debug.log*
.npm
.yarn-integrity

# Next.js
.next/
out/
next-env.d.ts
.turbo/

# Env files
.env
.env.local
.env.*.local

# Vercel
.vercel/

# macOS
.DS_Store
.AppleDouble
.LSOverride
._*
.Spotlight-V100
.Trashes

# VSCode
.vscode/*
!.vscode/settings.json
!.vscode/extensions.json

01 — Overview

How it works

Generate a tidy, well-commented .gitignore for any combination of languages, frameworks, and tools. Two modes: describe your project naturally and let AI assemble the file, or pick stacks from a curated list. Sections are labelled, comments are kept, and entries are deduplicated.

02 — Use cases

When to use it

  1. 01

    Bootstrap a fresh repo with a sensible .gitignore in seconds

  2. 02

    Add a new language to an existing repo without searching for the right template

  3. 03

    Get a .gitignore for a polyglot project where no single template fits

  4. 04

    Audit your current .gitignore against best practice for your stack

03 — Examples

Real input, real output

Next.js app with Python data scripts and a Rust CLI

ex 01

# Next.js .next/ out/ # Python __pycache__/ *.py[cod] .venv/ # Rust target/ Cargo.lock

Three stacks merged with comment headers and no duplicate entries.

Select: Node.js, macOS, JetBrains, VSCode

ex 02

# Node node_modules/ npm-debug.log* # macOS .DS_Store # JetBrains .idea/ # VSCode .vscode/

Standard combo for a Node project on a Mac.

04 — FAQ

Frequently asked

The 'select' mode uses a curated set of templates derived from the github/gitignore repository, kept up to date with current best practice. The 'describe' mode uses AI to assemble a custom file for cases the curated set doesn't cover cleanly.

05 — More

Tools that pair well