Curated rather than mirrored
The canonical collection of gitignore templates runs to hundreds of files and well over a megabyte, and nobody has ever needed most of it. What people need is a dozen stacks, three editors and the two operating systems that scatter metadata into every repository they touch.
So each template here is trimmed to the entries that earn their line, and each carries a one-line note - because half of these are genuine decisions rather than obvious ones. Whether a vendor directory belongs in the repository, whether the editor folder should be committed, and which build wrapper files must survive are all choices, and the defaults here have reasons.
- The Gradle and Maven wrappers are explicitly kept - excluding them breaks the build for everyone else
- The environment template ignores every dotenv variant while keeping the example file, which should be committed
- The Terraform template excludes state files, which hold secrets in plaintext
- The Android template excludes keystores while keeping the debug one