AllToolss
Live Indices
SENSEX76,878.98-0.50%
NIFTY24,068.85-0.44%
Home/Developer Tools/Git Ignore Generator

.gitignore Generator Studio

Construct comprehensive, production-ready .gitignore files by selecting your languages, frameworks, cloud stacks, operating systems, and IDEs with 1-click download.

100% In-Server Engine
1-Click Preset Stacks
🟩Node.js

npm, yarn, pnpm, node_modules & logs

⚛️React

React build output, CRA, Vite, bundler artifacts

Next.js

Next.js .next cache, out folder & telemetry

🐍Python

__pycache__, .venv, virtualenv, poetry, mypy, pytest

Java

Compiled .class, JAR/WAR, Maven target/, Gradle build/

🐳Docker

Docker compose overrides, secrets, volumes

🟣Terraform

Terraform state, lock files, provider cache

☸️Kubernetes

Kubeconfig, Helm charts, kustomize artifacts

🟦VS Code

.vscode/ settings, extensions & launch.json

🧠JetBrains / IntelliJ

.idea/, *.iml, WebStorm, PyCharm, CLion

🍎macOS

.DS_Store, .AppleDouble, Spotlight & Trashes

🪟Windows

Thumbs.db, desktop.ini, $RECYCLE.BIN

🦫Go

Go binaries, test coverage, vendor/

🦀Rust

Rust target/ directory and cargo locks

.gitignore (6 Techs)
122 lines
# =========================================================================
# Created with AllToolss GitIgnore Generator Studio (https://alltoolss.com)
# Selected Technologies: Node.js, React, Next.js, VS Code, macOS, Windows
# Timestamp: 2026-09-02T05:55:05.336Z
# =========================================================================

# -------------------------------------------------------------------------
# Node.js (npm, yarn, pnpm, node_modules & logs)
# -------------------------------------------------------------------------
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Dependency directories
node_modules/
jspm_packages/
.pnp
.pnp.js

# Environment variables & secrets
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
*.env.local

# Diagnostic & Cache
.npm
.eslintcache
.stylelintcache
.tsbuildinfo

# -------------------------------------------------------------------------
# React (React build output, CRA, Vite, bundler artifacts)
# -------------------------------------------------------------------------
# Production build artifacts
build/
dist/
dist-ssr/
*.local

# Storybook & Testing
storybook-static/
coverage/
.nyc_output

# -------------------------------------------------------------------------
# Next.js (Next.js .next cache, out folder & telemetry)
# -------------------------------------------------------------------------
# Next.js build output
.next/
out/

# Next.js telemetry & cache
.next/cache
next-env.d.ts

# -------------------------------------------------------------------------
# VS Code (.vscode/ settings, extensions & launch.json)
# -------------------------------------------------------------------------
# VS Code editor settings
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets

# Local History for Visual Studio Code
.history/
*.code-workspace

# -------------------------------------------------------------------------
# macOS (.DS_Store, .AppleDouble, Spotlight & Trashes)
# -------------------------------------------------------------------------
# macOS Finder & System files
.DS_Store
.AppleDouble
.LSOverride
Icon
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# -------------------------------------------------------------------------
# Windows (Thumbs.db, desktop.ini, $RECYCLE.BIN)
# -------------------------------------------------------------------------
# Windows thumbnail & system cache
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Folder config file
Desktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msm
*.msp
*.lnk

# -------------------------------------------------------------------------
# Custom Project Rules
# -------------------------------------------------------------------------
# Custom project credentials
*.pem
*.key
config.local.json

Git Pro-Tip: Untracking already committed files

If files like node_modules/ or .env were previously committed to Git history, add this file and run:

git rm -r --cached . && git add . && git commit -m "chore: apply updated .gitignore"