Gitignore Generator
Tick what your project uses and copy or download the .gitignore file.
What .gitignore does
A .gitignore file tells Git which files never to commit: installed dependencies (vendor/, node_modules/), build output, caches, logs, editor settings, operating system clutter (.DS_Store, Thumbs.db) and, most importantly, secrets such as .env files with passwords and API keys.
How to use it
- Tick your systems, editor and languages, and add any project-specific paths.
- Download the file and rename it to exactly
.gitignore(with the dot and no extension), then put it in the root folder of the repository. - Commit the .gitignore itself.
Already committed a file?
.gitignore only affects untracked files. To stop tracking a file that is already committed, run git rm --cached path/to/file and commit. If a secret was ever pushed, assume it is exposed: change the password or key, because it stays in the history. Patterns: / at the start means the repository root, a trailing / means a folder, * is a wildcard, and ! re-includes a file.
How it works
- Enter — type or paste your values or text.
- Get the result — it is worked out in your browser.
- Adjust — change the inputs to compare, or copy the result.
Related tools
View allPrefer to just describe the task? The AI Assistant can convert, compress and resize files from a short instruction.
Rate this tool
Log in to leave a review.