AZ Tools

.gitignore Generator

Developer

Curated `.gitignore` snippets for the things you actually run into: Node, Python, Java, Go, Rust, PHP, Ruby; Next.js, Astro, Vite, Django, Rails, Spring, Flutter; VS Code, JetBrains, Sublime, Vim, Emacs; macOS, Windows, Linux. Pick what applies and the tool stitches them together with section headers — no duplicates, ready to commit.

Languages

Frameworks

Editors

Operating systems

Combined .gitignore(3)
# Node.js
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
.npm/
.yarn/
.pnp.*
dist/
build/
.env
.env.local
.env.*.local

# macOS
.DS_Store
.AppleDouble
.LSOverride
Icon
._*
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

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

Snippets are curated from github/gitignore's templates and condensed to the lines projects actually use.

How to use

  1. Click the preset chips that match your project.
  2. Read the assembled `.gitignore` in the preview.
  3. Copy and paste into a `.gitignore` at the root of your repo.

Frequently asked questions

Why not just install github/gitignore?
Those templates are excellent but each is its own file. For a single repo you usually want a hand-picked combination of three or four — that's what this tool lets you assemble quickly.
Will this miss things specific to my setup?
Probably some — secret config files, local caches, build outputs of niche tools. Treat the output as a baseline and add a `# Local` section at the bottom for anything else.

Related tools