开发者工具

.gitignore 生成器

为任意技术栈生成 .gitignore 文件——从 30+ 种语言、框架、IDE 和操作系统中选择

Select Technologies

Pick all the technologies used in your project

.gitignore Generator

Generate .gitignore files for any technology stack — Node.js, Python, React, Go, Java, .NET, and 30+ more. Keep build artifacts, secrets, and editor files out of your git repository.

FAQ

What is a .gitignore file?

A .gitignore file tells git which files and folders to ignore — not track, stage, or commit. Typically includes node_modules/, build/, .env, and editor config files.

My file is already tracked — will .gitignore untrack it?

No. .gitignore only prevents untracked files from being added. To stop tracking an already-committed file, run: git rm --cached filename

Can I have multiple .gitignore files?

Yes. Git looks for .gitignore in every directory. A .gitignore in a subdirectory only applies to files in that directory.

没找到需要的?

我们根据社区反馈开发免费工具。欢迎提出能改善您工作流的工具建议!

.gitignore 生成器 — 免费工具在线 | FreeTool24 | FreeTool24