Git Flow¶
Konvensi branch dan commit yang dipakai tim produksi.
Branch¶
| Branch | Fungsi |
|---|---|
main |
Produksi, selalu stabil |
develop |
Integrasi fitur |
feature/* |
Fitur baru |
hotfix/* |
Perbaikan mendesak di produksi |
Alur kerja¶
- Ambil task dari board.
- Buat branch
feature/nama-fiturdaridevelop. - Commit dengan pesan jelas:
- Push & buat Pull Request ke
develop. - Setelah review & CI hijau → merge.
Konvensi commit¶
Gunakan prefix: feat:, fix:, docs:, chore:, refactor:.