Merge conflicts Git தானாக மாற்றங்களை இணைக்க முடியாதபோது ஏற்படுகிறது (இரண்டு பக்கமும் ஒரே வரிகளை மாற்றியிருக்கும்போது). அவற்றை தீர்ப்பது conflict markers களைப் புரிந்துகொள்ளல், சரியான முடிவைக் குறிப்பிடுதல், மற்றும் merge முடிப்பதை உள்ளடக்கியது. இதை தன்னம்பிக்கையுடன் செய்வது ஒரு முக்கியமான நடைமுறைத் திறமை.
Conflicts எப்போது மற்றும் ஏன் நிகழ்கிறது
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.
Conflict markers களை புரிந்துகொள்ளல்
<<<<<<< HEAD
code from YOUR current branch (the one you're merging INTO)
=======
code from the OTHER branch (the one being merged IN)
>>>>>>> feature-branch
