Merge conflicts ঘটে যখন Git স্বয়ংক্রিয়ভাবে পরিবর্তনগুলি একত্রিত করতে পারে না (উভয় পক্ষ একই লাইনগুলি পরিবর্তন করেছে)। সেগুলি সমাধান করার জন্য কনফ্লিক্ট মার্কারগুলি বোঝা, সঠিক ফলাফল নির্ধারণ করা এবং মার্জ সম্পন্ন করা জড়িত। এটি আত্মবিশ্বাসের সাথে করা একটি গুরুত্বপূর্ণ ব্যবহারিক দক্ষতা।
কখন এবং কেন কনফ্লিক্টগুলি ঘটে
Git auto-merges most changes, but a CONFLICT occurs when both branches changed the
SAME LINES (or one deleted what the other modified) — Git can't decide, so it asks YOU.
→ Conflicts are NORMAL in collaboration, not errors — just changes Git can't auto-resolve.
কনফ্লিক্ট মার্কারগুলি বোঝা
<<<<<<< HEAD
code from YOUR current branch (the one you're merging INTO)
=======
code from the OTHER branch (the one being merged IN)
>>>>>>> feature-branch
