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

git merge

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

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 ထဲသို့ ပေါင်းစပ်သွားမည်)
git merge | Thuta Learning