Gitignore Generator

Build a .gitignore from GitHub's templates for your languages, frameworks, editors and system, or from your project's folder, its repeated rules removed

Common
Drop your project's folder or click to pick it: its files tell which templates it needs. Nothing is uploaded.
Using it

Save it as .gitignore at the root of the repository. It only keeps untracked files out: a file already committed stays tracked until you run git rm --cached <file>.

The editors' and systems' rules (macOS's .DS_Store, JetBrains' .idea/…) can go in your global file instead, once for every repository: git config --global core.excludesFile ~/.gitignore_global. Templates from GitHub's collection (2 October 2026), the ones GitHub offers when creating a repository, dedicated to the public domain (CC0).