Thuta Learning
Git
BasicDevOps & Toolsအခြေခံ

The Three States

Gitသင်ခန်းစာ 6

Git တွင် files များ၏ အဓိက states ၃ ခုရှိသည်။

1. Working Directory: သင် လက်ရှိမြင်နေရပြီး ပြင်ဆင်နေသော files များ။

2. Staging Area (Index): သင်၏ နောက် commit တွင် ပါဝင်ရန် သင်သတ်မှတ်ထားသော (git add ဖြင့်) changes များ၏ snapshot တစ်ခု။

3. Repository (.git directory): Git က သင်၏ project ကို အပြီးသတ်သိမ်းဆည်းထားသော နေရာ။ Commit လုပ်လိုက်သောအခါ staging area မှ snapshot ကို repository ထဲသို့ အပြီးသတ်သိမ်းဆည်းသည်။

You should see
(Workflow: Modify files in Working Directory -> Stage changes with 'git add' -> Commit staged changes with 'git commit')

နောက်ဆုံးပြင်ဆင်ရက်

Progress ကို ဤ browser (ဤစက်) တွင်သာ သိမ်းထားပါသည်။ အခြားစက်များနှင့် sync မလုပ်ပါ။

ဤသင်ခန်းစာတွင် အမှားတွေ့ပါက အကြောင်းကြားရန်သင့် email app ကို ဤသင်ခန်းစာလိပ်စာ ဖြည့်ပြီးသားဖြင့် ဖွင့်ပေးပါမည် — သင်ကိုယ်တိုင် ပို့မှသာ ပို့မည်ဖြစ်သည်။

The Three States | Thuta Learning