The largest collection of useful .gitignore
templates
GitHub currently hosts the canonical repository of .gitignore
templates at https://github.com/github/gitignore, but occasionally is hesitant to merge changes without proper documentation based on their contributing guidelines. This repository serves as an alternate source for contributing .gitignore
templates.
This project is also the canonical repository where the https://www.gitignore.io template list comes from.
There are four file file types that gitignore.io recoginzes
-
Templates
A
.gitignore
file is the foundation of all templates. Each.gitignore
file contains gitignore information related to the title of the file. For example,Go.gitignore
contains a gitignore template that is used when creating a project usingthe Go programming language. -
Patch
A
.patch
is 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 guidlines and the.patch
file allows anyone to extend any of the templates to add extra template rules -
Stack
A
.stack
is a file that allows for the creation of code stacks (LAMP, MEAN, React Native). In todays development environment a.gitignore
file is usually comprised of multiple technologes. A stack creates an elegant way to keep the stack up to date with child dependencies. -
Order
The
order
file simply ensure that if certain templates are requested, the order in which the templates are loaded is maintinted.