GIT WORKFLOW CODE
| Prefix | Meaning | Example | 
|---|---|---|
| Add | Thêm tính năng, API, test, file mới | add: register and login feature | 
| Feat | Thêm tính năng hoặc module mới | feat: add payment feature | 
| Update | Cập nhật logic hoặc tính năng đã có | update: update validation for login input | 
| Enhance | Cải thiện hiệu năng, UX/UI, hoặc trải nghiệm | enhance: search feature with better UX | 
| Improve | Cải thiện độ chính xác hoặc hiệu suất | improve: checkout flow performance | 
| Fix | Sửa lỗi logic, UI, hoặc sự cố | fix: image upload issue | 
| Refactor | Tái cấu trúc code mà không thay đổi hành vi | refactor: restructure Repository layer | 
| Apply | Áp dụng các nguyên tắc SOLID | apply: Implement Strategy pattern for login | 
| Extend | Mở rộng chức năng | extend: add function to follow KISS | 
| Remove | Xóa code hoặc file không dùng | remove: delete unused variable | 
| Rename | Đổi tên biến, class, file (naming convention) | rename: variable from user to userInfo | 
| Optimize | Tối ưu hiệu năng hoặc giảm độ phức tạp | optimize: image resize upload speed | 
| Bump | Cập nhật version hoặc dependency | bump: update package.json to v3.1.0 | 
| Make | Thay đổi cấu hình, Docker, CI/CD | make: build with multi-stage Docker build | 
| Start | Bắt đầu tính năng mới | start: initial login implementation | 
| Stop | Ngưng hoặc loại bỏ một tính năng | stop: deactivate login feature | 
| Adjust | Điều chỉnh layout, spacing, UI nhỏ | adjust: header spacing | 
| Format | Format lại code (Prettier, ESLint) | format: apply Prettier formatting | 
| Style | Thay đổi liên quan đến CSS/UI mà không ảnh hưởng logic | style: update button color | 
| Test | Thêm hoặc sửa test case | test: add unit tests for summary API | 
| Build | Thay đổi liên quan build system (Webpack, Maven, v.v.) | build: add build profile for staging | 
| CI | Cấu hình CI/CD (GitHub Actions, GitLab CI) | ci: deploy stage to pipeline | 
| Chore | Việc lặt vặt, không ảnh hưởng business logic | chore: minor task as an example | 
| Revert | Hoàn tác một commit trước | revert: revert login feature | 
| Merge | Merge branch hoặc PR | merge: merge branch feature/login | 
| Release | Khi merge nhánh develop sang main để phát hành | release: merge develop to main for deployment |