Pular para o conteúdo

📦 Gerador .gitignore / .dockerignore

Stack and combine presets for languages (Node, Python, Go, Rust, Java, PHP, Ruby), frameworks (React, Next.js, Django, Rails, Laravel), IDEs (VSCode, JetBrains, Vim) and OS (macOS, Windows, Linux) to produce a tidy .gitignore or .dockerignore in one click. Auto-deduplication, comment preservation, live preview, copy and download.

100% Free No signup Browser-only 5 languages Dark mode

📝 .gitignore (Pré-visualização)

# Pick at least one preset

📖 Como usar

  1. 1
    Pick a mode
    Pick .gitignore or .dockerignore at the top. .dockerignore prioritises image-bloat patterns (node_modules / .git / *.log).
  2. 2
    Pick stacks
    Click chips for the languages, frameworks, IDEs and OS you use. Multi-selection merges and deduplicates them.
  3. 3
    Copy or download
    Copy to clipboard or download as .gitignore / .dockerignore from the buttons above the preview.

❓ Perguntas frequentes

What is the difference between .gitignore and .dockerignore?
.gitignore excludes patterns from Git tracking. .dockerignore excludes them from the Docker build context (COPY / ADD). Same goal — different consumer. .dockerignore should especially exclude node_modules / .git / *.log to keep image size down.
Can I append to an existing .gitignore?
Yes. Copy the preview into the end of your existing file, or run something like `cat existing.gitignore generated.gitignore | sort -u > new.gitignore` to dedupe.
How is this different from github/gitignore?
github/gitignore provides exhaustive single-stack templates (100+ lines each). This tool curates the most-needed lines per stack and merges multiple stacks into one tidy file. Less verbose, faster to read.
Can you add more presets?
Send the stack name via the feedback form below. We add high-demand presets.
🐛 Você encontrou um problema com esta ferramenta?

Completamente gratuito e sem registro. Até as etapas de reprodução são suficientes. Os relatos recebidos chegam diretamente aos operadores e servem como referência para correções.

※ Para reproduzir problemas, informações do navegador (UA / tamanho de tela / idioma / URL) são enviadas automaticamente