.gitignore 生成器

从流行语言和框架的预设生成 .gitignore 文件。支持组合多个预设并添加自定义规则。

所有处理均在浏览器中完成,不会上传任何数据。
Offline Ready
File Output

.gitignore 生成器

从流行语言和框架的预设生成 .gitignore 文件。支持组合多个预设并添加自定义规则。

🔒所有处理均在浏览器中完成,不会上传任何数据。
选择预设
语言与框架
Node.js
Python
Java
Go
Rust
C# / .NET
Ruby
Swift / iOS
操作系统与编辑器
macOS
Windows
Linux
IDEs & Editors
自定义规则
# 在此添加您的自定义忽略规则 *.log *.tmp .secret
已选预设
Node.js
macOS
生成的 .gitignore
# Generated .gitignore
# Presets: Node.js, macOS

# === Node.js ===
# Dependencies
node_modules/
package-lock.json
yarn.lock
pnpm-lock.yaml

# Build output
dist/
build/
.next/
.nuxt/
.output/

# Environment
.env
.env.local
.env.*.local

# Logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Coverage
coverage/
.nyc_output/

# === macOS ===
# macOS
.DS_Store
.AppleDouble
.LSOverride
._*
.Spotlight-V100
.Trashes