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

git commit

Gitသင်ခန်းစာ 8

git commit command ကို Staging Area မှ changes များကို local repository ထဲသို့ အပြီးသတ် save ရန် အသုံးပြုသည်။ Commit တိုင်းတွင် unique ID တစ်ခုနှင့် သင်ရေးသားလိုက်သော message တစ်ခုပါဝင်သည်။

bash
# Commit staged changes with a message
git commit -m "Add initial project files"
You should see
(Staging area ရှိ changes များသည် repository ထဲသို့ "save point" အသစ်တစ်ခုအဖြစ် သိမ်းဆည်းပြီးသွားမည်)

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

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

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