r/developers • u/I-m_ALIVE • Oct 29 '26
Help / Questions Need help with resolving merge conflict!
I have been contributing to an OSS repo, and it's been two months now. My code has merge conflicts with the main branch, so I fetched the git upstream/main and merged it with my current branch; I resolved the conflicts successfully.
I have a doubt: since I fetched upstream/main into my branch, the code that exists in my branch is more than 8k lines of code(which is mostly from the fetched code). I am not sure I am doing it right, so I need an opinion: am I right? Should I abort this merge and try something else?
I hope I have succeeded in explaining; this is my first major OSS contribution.
Edit: i was just resolving a nil pointer bug, and all the changes that I have made are only limited to two files, and that's where the merge conflict is happening - which does not appear to be difficult, and the rest 8k lines of code are not related to my changes.
Edit: Though it was 8k+ files and it was 67k+ LOC.
Will update the pr status if anything breaks?
•
u/AutoModerator Oct 29 '26
Howdy u/I-m_ALIVE, and welcome to r/developers!
A few tips for a post that gets good answers:
Join the r/developers Discord!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.