How the file gets built
Tick boxes sit in four groups: languages and frameworks (Node, Laravel / PHP, Python, .NET, generic PHP, Unity), editors (VS Code, JetBrains, Sublime Text, Xcode, Emacs), operating systems (macOS, Windows, Linux), and tools (log files, temp files, secrets and keys, Docker). Each selected option appends its own block to the read-only textarea, headed by a comment line naming the option, so file order follows list order rather than click order.
A worked example
The page opens with the Universal preset applied: macOS, Windows, VS Code, JetBrains, log files, temp files and secrets. That is 7 blocks, 53 lines and 526 B, shown by the three counters. The secrets block ignores .env, .env.*, *.pem, *.key and secrets.yml, and the VS Code block ignores the folder but negates settings.json, tasks.json, launch.json and extensions.json.
Presets, copying and downloading
Each preset clears the current selection before ticking its own set, and Clear all leaves the placeholder line Nothing selected yet. Download saves the textarea contents as a plain-text file named .gitignore; Copy sends them to the clipboard.
Where it stops
- The .NET, Unity and PHP blocks are generic starting points; framework-specific rules such as Blazor, Addressables or Symfony are not included.
- Blocks are concatenated as written, with no de-duplication across blocks; selecting Node and Log files together restates npm-debug and yarn-debug patterns.
- Nothing covers monorepo subfolders or project-specific build names, so hand edits after download are usually needed.
- A generated file only guards untracked paths; anything already committed stays tracked until you untrack it.
Questions people ask
Why is my .env still in the repository?
Because it was committed before the ignore rule existed. The generator output is correct; git simply keeps tracking files that are already in the index, so remove it from tracking first and then commit the new file.
Can I combine presets?
No. Presets replace the whole selection, so start from one and tick or untick individual boxes afterwards.
Before making a repository public, check the result against the config files you commit: the robots.txt generator covers crawler rules, the chmod calculator documents server file permissions, and the JSON validator confirms committed config parses.