Free developer tool

.gitignore Generator

Choose your stack and generate a clean .gitignore file instantly. Nothing leaves your browser.

Runs locally in your browser
01
Choose presetsSelect everything used by your project.
Popular
Frameworks
Tools & environments
02
Generated file0 patterns selected
Ready
.gitignore
# Select one or more presets to begin.

Generated locally. Your project details are never uploaded.

Quick guidance

What belongs in .gitignore?

Ignore generated dependencies, build output, local editor state, operating-system metadata, and environment files. Do not use .gitignore to hide a secret that was already committed: remove it from history when necessary and rotate the credential.

Tracked files are not affected

Adding a pattern does not untrack files already in Git. Inspect with git status, then use git rm --cached <path> only for the exact file you intend to stop tracking.

See the essential Git commands cheat sheet.