gitignore 生成器
组合适用于 Node、Python、Java、Go、Rust、.NET 等的现成 .gitignore 模板。
使用方法
Build a .gitignore
Tick the templates that match your project and the operating systems and editors your team uses.
- Select language and framework templates.
- Add OS, editor and secrets templates as needed.
- Copy or download the generated file.
Keep secrets out of Git
The secrets template ignores .env files and common key formats. Always review it before committing.
常见问题
Can I combine templates?
Yes. Selected templates are concatenated with section comments and duplicate lines are removed.
Should Cargo.lock be ignored?
For applications, Cargo.lock should usually be committed. For libraries, many teams ignore it. Adjust the template to match your policy.