Thuta Learning
ရှာဖွေရန်
BasicDevOps & Toolsbeginner

git commit

စိတ်လျှော့ပါ။ ဒီခန်းကို စာအုပ်လိုမဟုတ်ဘဲ စကားပြောသလိုပဲ၊ နားလည်လွယ်အောင် ရှင်းပါမယ်။

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" အသစ်တစ်ခုအဖြစ် သိမ်းဆည်းပြီးသွားမည်)