Boneyard Tools

.gitignore Generator

Pick the languages, frameworks and tools you use and get a ready-made .gitignore. Combine multiple stacks, then copy the result or download it straight into your repo.

How to generate a .gitignore

  1. Select every stack your project uses, like Node, Python or macOS.
  2. Review the combined .gitignore that builds as you toggle stacks.
  3. Copy it or download the .gitignore file into the root of your repository.

Examples

Node + macOS

["node","macos"]
# === Node ===
node_modules/
npm-debug.log*
...

# === macOS ===
.DS_Store
._*
...

Python project

["python"]
# === Python ===
__pycache__/
*.py[cod]
.venv/
.pytest_cache/
...

Frequently asked questions

What does a .gitignore file do?

It tells Git which files and folders to leave untracked, so build output, dependencies, logs and local secrets never get committed to your repository.

Can I combine multiple stacks?

Yes. Select every stack your project uses and the patterns are stacked under labelled sections, so a Next.js app on macOS gets both sets of rules.

Where do I put the generated file?

Save it as a file named exactly .gitignore in the root of your repository. You can also keep extra .gitignore files inside subfolders for rules that only apply there.

What about a global gitignore for my machine?

Editor and OS rules like .DS_Store or .idea/ can go in a global ignore file. Run git config --global core.excludesFile ~/.gitignore_global and add them there so every repo benefits.

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

Git only ignores untracked files. If a file was already committed, .gitignore will not remove it. Run git rm --cached <file> once, then commit, and Git will stop tracking it.

Is anything sent to a server?

No. The templates are built into the page and the file is generated entirely in your browser.

Related tools