Skip to main content
AllDevToolsHub
🚫

.gitignore Generator

100% Local

Generate .gitignore files for any language, framework, OS, or editor.

.gitignore Generator
4 selected
# ===== Node =====
# Node.js
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
.npm
.pnp.*
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.cjs
.pnp.loader.mjs
dist/
build/
.cache/
.parcel-cache/
.next/
.nuxt/
.output/
.vite/

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

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

# ===== Env files =====
# Environment & Secrets
.env
.env.*
!.env.example
!.env.sample
*.pem
*.key
*.p12
*.pfx
secrets/
credentials/
Try:
This tool runs entirely in your browser. Your input is never uploaded, logged, or sent to AllDevToolsHub or anyone else, and it keeps working offline once the page has loaded.

Select your language, framework, and OS. The .gitignore file builds from maintained template patterns.

Overview

What is .gitignore Generator?

Pick from 19 templates across languages, OSes, editors, and DevOps tools (Docker, Terraform). Combine multiple templates and download a ready .gitignore file.
FAQ

Frequently Asked Questions

Reference

Technical Deep Dive

DEVELOPMENT TOOLS

.gitignore Generator

Select from 19 templates across languages (Node, Python, Go, Java, Rust, PHP, Ruby, Swift), operating systems (macOS, Windows, Linux), editors (VS Code, JetBrains, Vim), and DevOps tools (Docker, Terraform). Combine multiple templates and download a ready-to-use .gitignore file.

🗂️

Stack-aware templates

Combine language, framework, OS, and editor templates (Node, Python, macOS, JetBrains) into one merged, de-duplicated file.

🔎

Community template set

Rules track the widely used github/gitignore templates so you get the same coverage as gitignore.io.

📋

Copy or download

Grab the finished .gitignore with no attribution comment or tracking added.

01 Stack Exclusion Matrix

Runtime / Stack Standard Exclusions Why Ignore?
Node.jsnode_modules/External dependencies
Python__pycache__/Compiled bytecode
Go*.exe, /binBinary artifacts
Rusttarget/Build intermediate files
macOS.DS_StoreOS Desktop metadata

02 Untracking Workflow

1
Pattern Declaration Add the sensitive or redundant file pattern (e.g., .env) to your project's root .gitignore.
2
Index Removal Execute git rm --cached [file] to remove the item from the tracking index while keeping it on disk.
3
State Verification Commit the removal. Subsequent changes to the file will now be ignored by the Git monitoring subsystem.

You Might Also Need