Skip to main content
devtools24

.gitignore Generator

Generate .gitignore files from templates for popular languages and frameworks. Select multiple templates to combine them.

Input

Languages

Frameworks

Operating Systems

Editors

Output
Select one or more templates to generate your .gitignore

About .gitignore

  • Select one or more templates above to generate your .gitignore
  • Templates can be combined for projects using multiple technologies
  • Place the .gitignore file in your repository root
  • Files already tracked by Git won't be ignored until you run git rm --cached

.gitignore Files - Technical Details

A .gitignore file specifies intentionally untracked files that Git should ignore. Files already tracked by Git are not affected. Common patterns include build outputs, dependencies, environment files, and IDE settings.

Command-line Alternative

# Create a .gitignore from GitHub's collection\ncurl -sL https://www.toptal.com/developers/gitignore/api/node > .gitignore\n\n# Or use gitignore.io\ngit config --global alias.ignore '!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi'

Reference

View Official Specification