I stopped handling thel manually after i noticed that agents literally make way less mistakes in merges than I do manually. With the latest models I've had 100% success rate in resolving conflicts with agents only. Now I no longer trust myself in doing the manual merges other than testing the end product
A non-trivial merge conflict resolution is very time consuming. I feel like a lot of devs don't put the time necessary to pull up the full diff of both changes to make sure you've got it all correct.
I've watched some of my team resolve conflicts before and I do have to say, I would rather have AI resolve conflicts rather than the approach of looking at the code and making a good guess at which goes in.
It's one of the more difficult parts of software dev for sure. You have to understand not just the syntax but the intentions of everything that was written. It takes a lot of experience to get there, and it's especially difficult because often you need to keep in mind context spread across files from two different units of work. Its hard enough to do that when its just your own work. Add in the fact that it's entirely possible to get something that works but subtly changes behavior, very stressful. Hope you have good tests.
Although most of the time it's pretty simple if you just make sure people aren't working in the same area of the code at the same time. So the conflicts are incidental and not structural.
I mean merging should be a matter of knowing what should go in, not guesswork. At least if changes are all in the same repo you'd have a better grasp of the whole picture.
I only tried it once so far. I had Claude do it (in a few minutes), and then did a manual merge on another branch (which took most of a an afternoon). No mistakes on Claude's part, although it made different choices with a couple judgement call cases. Not worse, just different.
View all comments
Show parent comment
17
u/trafalmadorianistic 22h ago
Fuck, I still don't trust AI with merge conflicts. How's the experience been for you. What agents used?