demo_docs/Templates/Git Template.md
2025-05-14 09:42:59 +07:00

1.5 KiB

.gitignore

# Các file và thư mục tạm thời của Go
/tmp/
*.exe
*.exe~
*.dll
*.so
*.dylib
*.test
*.out
/vendor/

# File log
*.log
build-errors.log

# Thư mục template và các file mẫu
/template/
template-*
*-template*
example-*
*.example.*

# Thư mục tạm thời của Air
.air.conf
.air.toml.backup

# Các file cấu hình và IDE
.idea/
.vscode/
*.swp
*.swo
.DS_Store
Thumbs.db

# Các file binary được tạo ra
/bin/
/build/

# Các file môi trường và cấu hình cụ thể cho môi trường cục bộ
.env
.env.local
.env.*.local
*.local.yaml
*.local.yml
*.local.toml
*.local.json

# Các thư mục cache
.cache/
__pycache__/
node_modules/
.npm/

# Các file và thư mục khác không cần thiết
coverage/
coverage.txt
profile.out
.coverage

# Các file backup
*~
*.bak
*.backup
*.old
*.orig

Git Message

.gitmessage
# type: feat | fix | docs | style | refactor | perf | test | chore
# scope: phần của project bị ảnh hưởng (auth, api, db...)
# summary: mô tả ngắn gọn (không viết hoa, không chấm câu)
# body: mô tả thêm (có thể bỏ qua)
# footer: liên kết issue hoặc cảnh báo BREAKING CHANGE
# ~/.gitmessage.txt

<type>(<scope>): <summary>

[Body - mô tả chi tiết]

[Footer - issue liên quan, breaking change,...]

Commit Scope

  • Dev Codefeat, fix
  • **Dev Refactor → refactor, perf, style
  • DevOps → build, ci, chore
  • Tester|BAdocs, test
  • Leader | Automationrevert