.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