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

git merge

Gitသင်ခန်းစာ 13

git merge command ကို branch တစ်ခု၏ history ကို လက်ရှိ branch ထဲသို့ ပေါင်းထည့်ရန် အသုံးပြုသည်။ ဥပမာ၊ "new-feature" branch မှ changes များကို "main" branch ထဲသို့ ပေါင်းထည့်ခြင်း။

bash
# 1. Switch back to the main branch
git switch main

# 2. Merge the 'new-feature' branch into main
git merge new-feature
You should see
(new-feature branch မှ commits အားလုံး main branch ထဲသို့ ပေါင်းစပ်သွားမည်)

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

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

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

git merge | Thuta Learning