.gitignore and .editorconfig generator
Pick languages, frameworks, editors and operating systems and get a single .gitignore with the entries merged, no duplicate lines and a heading for each section. Optionally an .editorconfig too.
.gitignore
Pick at least one template on the left: the .gitignore appears here.
How to use it
- Tick the languages, frameworks, editors and operating systems you use in the project.
- Add your own entries if needed (for example a file with keys) and, if you like, turn on the .editorconfig.
- Check the text: each template has its own heading and lines already present are not repeated.
- Copy or download the files and put them in the root folder of the repository (.gitignore and .editorconfig).
Frequently asked questions
Does .gitignore work for files already tracked?
No: Git keeps following files that were already added. To stop, use git rm --cached file-name (or git rm -r --cached folder) and then commit; the file stays on disk.
Why do some lines start with !?
The exclamation mark re-includes a file excluded earlier: for example the VS Code template ignores .vscode/* but keeps settings.json. Order matters, which is why sections always keep the template's order.
Should I ignore dependency folders like node_modules?
Yes: they are recreated on install and are heavy. The same goes for build folders (dist, target, bin). Lock files such as package-lock.json stay in the repository, since they give everyone the same versions.
What is .editorconfig for?
It makes every editor use the same indentation, charset and line ending, regardless of personal settings. Most editors read it natively or through an extension.
Are the templates complete?
They are a base with the most common entries, written for this tool. For projects with special tooling, add your own lines in the dedicated field.
Privacy
Everything happens in your browser: the templates are in the page and nothing is sent or saved.