gitignore

github

GitHub's collection of .gitignore templates for languages, frameworks and editors, the same ones offered when you create a repository on GitHub.com. Copy one to keep build output and secrets out of version control.

Created

What is github/gitignore?

This is GitHub's own collection of .gitignore templates. A .gitignore file lists the files and folders that Git should not track, such as build output, dependency folders, editor settings and local secrets. The templates cover many languages, frameworks and development environments, and GitHub uses them to populate the template choosers when you create a new repository or file on GitHub.com.

The README links to the Git documentation on ignoring files and to GitHub's help article on the same subject, so you can learn how the rules work before copying a template into your project.

It suits anyone starting a new project who wants a sensible ignore list without writing one from scratch, and developers who want a reference for common patterns.

gitgitignore