Chuyển tới nội dung chính
kitlocal.dev

Tạo .gitignore

Chạy cục bộ

Xử lý 100% ngay trong trình duyệt. Dữ liệu đầu vào và kết quả không rời khỏi thiết bị.

Tạo file .gitignore từ các mẫu phổ biến.

Chọn template
Xem trước .gitignore
# Generated by KitLocal .gitignore scaffolding

# =======================
# Template: Node.js
# =======================
node_modules/
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnp.*
.env
.env.test
.env.production
.vercel
.next/
build/
dist/
coverage/
.DS_Store

# =======================
# Template: Mac / OS
# =======================
.DS_Store
.AppleDouble
.LSOverride
Icon

._*
.Spotlight-V100
.Trashes

# =======================
# Template: IDE / Editors
# =======================
.vscode/
.idea/
*.suo
*.ntvs*
*.njsproj
*.sln
*.swp
*~

# =======================
# Custom Exclusions
# =======================
keys.json
secrets/
Lưu kết quả thành .gitignore ở thư mục gốc của dự án.