Git & Ship — Quản lý code và deploy
Quản lý git workflow, tạo worktree cho parallel development, và ship code lên production.Cú pháp
Bảng tham chiếu nhanh
| Lệnh | Mô tả | Use case |
|---|---|---|
/git | Staging, committing, pushing, PRs, merges | Daily git operations |
/worktree | Tạo git worktree riêng biệt | Parallel development trong monorepo |
/ship | Full ship pipeline (merge, test, review, push, PR) | Ship feature lên production |
/git — Git operations
Hỗ trợ conventional commits tự động:/worktree — Parallel development
Tạo isolated copy của repo để làm việc trên nhiều branches cùng lúc:/ship — Ship pipeline
Full pipeline từ feature branch đến production:Branch naming convention
Khi nào dùng / không dùng
| Dùng | Không dùng |
|---|---|
| Ship feature hoàn chỉnh | Chỉ commit nhỏ (dùng git CLI trực tiếp) |
| Parallel dev trên nhiều features | Single branch workflow |
| Cần conventional commits tự động | Khi muốn manual git control |