← Developer Tools
🚫

Create .gitignore — Select Stacks, Download Instantly

Generate .gitignore files for any stack — instantly, offline, free

💡

Create a production-ready .gitignore in seconds. Select your stacks, customise the output, and download. Smart deduplication and category grouping included.

⚡ Quick Start:
STACKS8 selected
🔍
Selected stacks:
🪟 Windows 🍎 macOS 💙 VS Code 💚 Node.js ⚛️ React 🔐 .env Files 📋 Log Files 🔑 Secrets
GROUP BY CATEGORY
FORMAT
OUTPUT · .gitignore
# ============================================================
# Generated: CalcNation .gitignore Generator · 2026-03-14
# Stacks   : Windows, macOS, VS Code, Node.js, React, .env Files, Log Files, Secrets
# Format   : .gitignore
# ============================================================

# ────────────────────────────────────────────────────────────
# OS
# ────────────────────────────────────────────────────────────

# 🪟 Windows
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msm
*.msp
*.lnk

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

# ────────────────────────────────────────────────────────────
# IDE
# ────────────────────────────────────────────────────────────

# 💙 VS Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace
.history/

# ────────────────────────────────────────────────────────────
# LANGUAGE
# ────────────────────────────────────────────────────────────

# 💚 Node.js
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnp.cjs
.pnp.loader.mjs
.yarn/cache
dist/
build/
coverage/

# ────────────────────────────────────────────────────────────
# FRAMEWORK
# ────────────────────────────────────────────────────────────

# ⚛️ React
# React build output
build/
.env.local
.env.development.local
.env.test.local
.env.production.local

# ────────────────────────────────────────────────────────────
# TOOLS
# ────────────────────────────────────────────────────────────

# 🔐 .env Files
.env
.env.local
.env.*.local
.env.development
.env.test
.env.production
!.env.example
!.env.sample

# 📋 Log Files
logs/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

# 🔑 Secrets
# Security — never commit these
*.pem
*.key
*.p12
*.pfx
*.cer
*.crt
id_rsa
id_rsa.pub
*.secret
secrets.json
secrets.yaml
*.keystore

📄 110 lines·💾 3.1 KB·📦 8 stacks·🔧 .gitignore

Frequently Asked Questions

What stacks are supported?

50+ stacks across OS (Windows, macOS, Linux), IDE (VS Code, IntelliJ, Vim, Eclipse), Languages (Node, Python, Java, Go, Rust, Ruby, PHP, C#, C++, Swift, Kotlin, TypeScript, Dart), Frameworks, and Tools.

What is category grouping?

When enabled, output is organised into OS / IDE / Language / Framework / Tools sections with header comments. When disabled, patterns are listed flat per stack with deduplication.

Can I share my configuration?

Yes — click "🔗 Share" to copy a URL with your stack selection encoded as ?stacks=node,react,vscode parameters. Anyone opening the URL gets the same selection pre-loaded.

What is the Custom Rules editor?

An expandable textarea at the bottom of the settings panel. Any patterns you type there are appended as a "Custom Rules" section at the end of the output.

Does it support .dockerignore?

Yes — use the Format toggle to switch the output type and filename between .gitignore, .dockerignore, and .npmignore.