This project is also the canonical repository where the https://www.gitignore.io template list comes from. Here are the reasons behind the need for this repository: https://blog.joeblau.com/gitignore-io-template-fork
There are four file types that gitignore.io recognizes
.gitignorefile is the foundation of all templates. Each
.gitignorefile contains gitignore information related to the title of the file. For example,
Go.gitignorecontains a gitignore template that is used when creating a project using the Go programming language.
.patchis a file to extend the functionality of a template. The source for some of the template files on dvcs/gitignore come from github/gitignore. GitHub maintains strict contributing guidelines and the
.patchfile allows anyone to extend any of the templates to add extra template rules
.stackis a file that allows for the creation of code stacks (LAMP, MEAN, React Native). In today's development environment a
.gitignorefile is usually comprised of multiple technologies. A stack creates an elegant way to keep the stack up to date with child dependencies.
orderfile simply ensure that if certain templates are requested, the order in which the templates are loaded is maintained.