← back to flaviocopes.com

.gitignore generator

← All tools

Check the stacks you use. The output is a single .gitignore with commented sections — based on common GitHub gitignore templates, trimmed for typical web dev projects.

~~~

Stacks

~~~

Output

Review before committing. Teams sometimes share .vscode/settings.jsonon purpose — the VS Code block keeps those as exceptions.

~~~

About this tool

A .gitignore tells Git which files to leave out of version control — dependencies, build output, OS junk, and secrets. This generator stitches together commented blocks for common stacks so you do not start from a blank file every project.

It is a starting point, not gospel. Monorepos, shared IDE config, and generated code you do want tracked all need manual tweaks.

~~~

Read more