.gitignore generator
Build your project's .gitignore file by choosing languages, frameworks, operating systems and editors: Node, Python, Java, Flutter, macOS, VS Code and more.
How to useGenerate a .gitignore file
.gitignore generator: what it is for
Click the technologies in your project to build a .gitignore organized by sections and without duplicate lines. There are templates for Node, Python, Java, PHP, Go, Rust, .NET, Next.js, Flutter, Android, iOS, macOS, Windows, editors and secret files such as .env.
Edit the result if you want and download or copy the file.
How to use
- Choose the project's technologies.
- Review the generated file.
- Download or copy the .gitignore.
When to use it
- Starting a new repository.
- Avoiding committing node_modules and builds.
- Protecting .env files and keys.
Frequently asked questions
What is .gitignore?
It is a file in the repository root that tells Git which files and folders should not be versioned, such as dependencies, builds, logs and files with passwords (.env).
I already committed a file before adding it to .gitignore. What now?
.gitignore only applies to files that are not tracked yet. Run git rm --cached file-name, commit, and from then on it will be ignored. If it was a password, change it.
Is it really free?
Yes, 100% free. No sign-up, no subscription and no usage limits. All Tools123 tools are free and run right in your browser.