Staging area (uga dipanggil index) yaiku area antara (intermediate) antarane working directory lan repository — nang endi sampeyan ngresiking owah-owahan endi sing bakal mlebu ing commit sabanjure. Iku ngidini sampeyan nggawé commit kanthi presisi, milih kanthi tepat apa wae sing arep dilebokake.
Telu area ing Git
WORKING DIRECTORY → your actual files (where you edit)
│ git add
▼
STAGING AREA (index) → changes PREPARED for the next commit (a staging zone)
│ git commit
▼
REPOSITORY (.git) → committed snapshots (the permanent history)
Owah-owahan ngalir: sampeyan ngowahi file (working directory), ngestage owah-owahan pilihan (staging area), lan nyathet owah-owahan sing wis distage dadi commit (repository).
