😇2. How to contribute

အရင်ဆုံး https://github.com/ROM-robotics/rom2109 သို့ သွားပြီး fork လုပ်ထားပါ။ ပြီးနောက် မိမိရဲ့ repo မှ rom2109 ကို clone ပါ။ clone ပြီး colcon build လုပ်ပါ။

git remote -v

ဒါဆိုရင် မိမိ repo ရဲ့ အညွှန်းလိပ်စာကို origin အမည်ဖြင့်တွေ့ပါလိမ့်မယ်။ ပြီးရင် ပြင်ဆင်သင့်တာပြင်ပြီး branch ခွဲ commit ထုတ်။ မိမိ repo ကို push လုပ်ပါ။ Contribute လုပ်ချင်ပါက မူရင်း repo ပိုင်ရှင် romrobotics ဆီသို့ pull request တင်ပါ။ မူရင်း repo မှနောက်ဆုံး update များကို ရယူလိုပါက အောက်ပါအတိုင်း fetch လုပ်ပါ။

git remote add upstream git@github.com:ROM-robotics/rom2109.git
git remote show
git fetch upstream
git merge upstream/humble-hw humble-hw

အထက်ပါ အဆင့်များကို Git hub cli အသုံးပြု၍လည်း လွယ်ကူစွာပြုလုပ်နိုင်ပါသည်။

gh auth login
gh fork --clone ROM-robotics/rom2109.git
cd rom2109
git branch devel
...
git commit -m "fixed pid"
gh pr create

Last updated