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-featureYou should see
(new-feature branch မှ commits အားလုံး main branch ထဲသို့ ပေါင်းစပ်သွားမည်)