.gitignore Generator

Combine .gitignore templates for languages, frameworks, editors and operating systems.

Languages

Frameworks

Tools

OS & editors

# Node
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
.npm
.yarn/cache
.pnp.*
dist/
build/
coverage/
*.tsbuildinfo
.eslintcache

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

# Env & secrets
.env
.env.*
!.env.example
*.pem
*.key
secrets.json
*.p12

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

# Windows
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
*.lnk

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

# JetBrains
.idea/
*.iml
*.iws

Already committed a file you now ignore? Untrack it with git rm --cached <file>.