Kharabeesh
On-device ع

.gitignore Generator

Pick your language, framework, OS and editor to get one tidy .gitignore with no duplicates that keeps node_modules, build output and secrets such as .env out of Git. Copy or download it.

Free, no sign-up Your data stays on your device Works offline after first open

The tool

Loading the tool…

How to use

  1. Tick the templates that fit your project (for example Flutter + macOS + VS Code). You can search by name.
  2. Add your own lines under “Extra lines” for project-specific folders.
  3. Copy or download the result and save it at the repo root named exactly .gitignore.

Privacy & how it works

Processes your data in the browser and stores nothing.

  • Engine: lightweight in-page code, no external libraries.
  • Works offline after you open it once.

Frequently asked questions

I added the file but Git still tracks node_modules!

.gitignore does not affect files already tracked. Untrack them once: git rm -r --cached node_modules, then commit.

What does a line starting with ! mean?

A negation: it re-includes a file ignored by an earlier line. For example !.env.example keeps the sample file while .env.* is ignored. That is why negations are never removed and their order is kept.

The file downloaded as gitignore without the dot

Some systems hide or drop a leading dot. Rename it to exactly .gitignore, or copy the text into a new file.

Are the templates complete?

They hold the core lines for each environment, written from each tool’s own docs. Every project has its own files, so review the result and add what you need.

Formulas & sources

Related tools