Complete .gitignore guide
Pattern syntax, order and evaluation rules with practical examples.
Explore resourceProfessional .gitignore tools
Complete step-by-step tutorial with practical examples and best practices for using .gitignore effectively.
Create, configure, and optimize .gitignore files for any project
# Dependencies node_modules/ npm-debug.log* yarn-debug.log* yarn-error.log* # Build outputs dist/ build/ *.tgz # Environment variables .env .env.local .env.development.local .env.test.local .env.production.local # IDE and editor files .vscode/ .idea/ *.swp *.swo *~ # Operating system files .DS_Store .DS_Store? ._* .Spotlight-V100 .Trashes ehthumbs.db Thumbs.db # Logs logs *.log # Runtime data pids *.pid *.seed *.pid.lock # Coverage directory used by tools like istanbul coverage/ # Temporary folders tmp/ temp/
Use our tools to generate, validate, and optimize your .gitignore files.
Pattern syntax, order and evaluation rules with practical examples.
Explore resourceStep-by-step process to untrack files already committed to Git.
Explore resourceShare gitignore best practices across monorepos and large teams.
Explore resourcePaste your current .gitignore into the validator and catch mistakes before merging.