docs: add commit dependency warnings

- Add warning about commit order
- Explain dependencies between commits
- Mention which commits need prerequisite commits
This commit is contained in:
Dita Aji Pratama 2026-04-18 12:35:30 +07:00
parent 0e35047375
commit 4fa7a2a99c

View File

@ -447,6 +447,19 @@ Topics tambahan:
npx expo start npx expo start
``` ```
**⚠️ PENTING: Urutan Commit yang harus Diperhatikan**
Beberapa commit memiliki dependensi. Berikut urutannya:
| Jika ingin belajar | Pastikan sudah checkout ke commit |
|-----------------|------------------------------|
| Commit 4-7 (Components) | Setelah commit 3 |
| Commit 11+ (HomeScreen) | Setelah commit 10 (useTransactions) |
| Commit 14 (Stats Screen) | Setelah commit 10 (useTransactions) |
| Commit 18+ (Categories) | Setelah commit 17 |
**Jangan langsung checkout ke commit tinggi** tanpa mengikuti urutan, karena akan terjadi error (beberapa komponen/hooks belum tersedia).
### Cara 2: Belajar dari Kode ### Cara 2: Belajar dari Kode
1. Clone repository di commit terakhir 1. Clone repository di commit terakhir