Handitab

.gitignore Generator

Generate a .gitignore file by ticking templates for Node.js, Python, PHP, Java, Go, Windows, macOS, VS Code, and JetBrains IDEs.

About .gitignore Generator

A .gitignore file lists path patterns that Git should leave untracked, such as dependencies, build output, and local settings. This generator joins short built-in templates for nine targets: Node.js, Python, PHP and Laravel, Java, Go, Windows, macOS, VS Code, and JetBrains IDEs, each under a comment header. The templates cover the most common entries only and are shorter than the full github/gitignore collection.

How to use .gitignore Generator

  1. Fill in "Node.js", "Python", "PHP / Laravel" and "Java", and the other options.
  2. The result appears below and updates as you type.
  3. Copy the result with the copy button, or download it as a file where that is offered.

Questions about .gitignore Generator

Why is a file still tracked after I add it to .gitignore?

The ignore file only affects untracked files. If a file was already committed, remove it from the index with git rm --cached followed by the path, then commit. It stays on disk but is no longer tracked.

Runs in your browser. Page last updated .

More developer tools

All 41 developer tools