Build a .gitignore for Node.js, Python, Java, Go, Rust, PHP, Laravel, Unity, macOS, Windows and VS Code — merged, deduplicated and downloaded in your browser.
—
Templates—
Rules—
Duplicates removed—
Size—
How the Gitignore Generator works
A .gitignore file tells Git which files must stay out of a repository: build output, dependencies, editor state, operating-system clutter and, most importantly, local secrets. This generator builds that file for you. Pick your languages, frameworks, editors and operating systems from the list, and every rule from those templates is merged into a single file, with duplicates removed and your own patterns kept at the top so your negations still win. You can paste an existing .gitignore into the extra field to merge it, turn section headers or template comments off, then copy the result or download it as a .gitignore file. The templates are maintained inside this page: nothing is fetched from GitHub, no file from your repository is read, and nothing is uploaded. The tool does not scan your project, so read the result before your first commit — a rule your exact setup needs may still be missing.
So funktioniert der Gitignore-Generator
Eine .gitignore-Datei sagt Git, welche Dateien nicht ins Repository gehören: Build-Ergebnisse, Abhängigkeiten, Editor-Zustand, Systemdateien und vor allem lokale Secrets. Dieser Generator baut sie für Sie. Wählen Sie Sprachen, Frameworks, Editoren und Betriebssysteme aus der Liste, und alle Regeln dieser Vorlagen werden zu einer Datei zusammengeführt — Duplikate entfernt, Ihre eigenen Muster stehen oben, damit Ihre Ausnahmen weiterhin gewinnen. Eine vorhandene .gitignore können Sie in das Zusatzfeld einfügen und zusammenführen, Kommentare abschalten und das Ergebnis kopieren oder herunterladen. Die Vorlagen liegen in dieser Seite selbst: es wird nichts von GitHub geladen, keine Datei aus Ihrem Repository gelesen und nichts hochgeladen. Das Tool durchsucht Ihr Projekt nicht — lesen Sie das Ergebnis vor dem ersten Commit, denn eine Regel für Ihr genaues Setup kann noch fehlen.