.gitignore Generator
Generate .gitignore files for your projects.
About the .gitignore Generator
A .gitignore file tells Git which files to leave out of version control, such as dependencies, build output, logs, and secrets like .env files.
How to use it
- 1 Choose your languages, frameworks, and editors.
- 2 Generate the combined file.
- 3 Save it as .gitignore in the root of your repository.
Frequently asked questions
Why is a file still tracked after I added it to .gitignore?
.gitignore only affects untracked files. Run git rm --cached <file> to stop tracking a file that was already committed.
Should .env be in .gitignore?
Yes. .env files hold secrets and should never be committed. Commit a .env.example with placeholder values instead.
Can I have more than one .gitignore?
Yes. A .gitignore in a subfolder applies to that folder and everything below it.
Related tools
Invoice Generator
Generate invoices
Quotation Maker
Make quotations and estimates with tax and terms
Money Receipt Maker
Write money receipts with the amount in words
Delivery Challan Maker
Make delivery challans and delivery notes
Meta Tag Preview
Preview meta tags
Resume Builder
Make a professional resume or CV and download a PDF