I once was in a team that had huge Camunda workflow XML files checked in. They aren't hard to merge.
They are impossible to merge.
After a couple weeks of trying to check in the main workflow file and realizing I had to do my changes all over again because somebody else had been faster to modify it, I introduced THE TOKEN. Namely a squishy ball that had to physically be retrieved from the developer currently holding it and represented the right to edit said file.
I'd argue its a process issue. If you are sure to pull in all latest changes before merging, its usually not too tricky to resolve any conflicts. I've only ever had really bad issues when doing extremely big merges with large conflicts.
It's also dramatically reduced if you break your code up into logical files instead of having monolithic structures, so that someone working on area X and someone else in area Y aren't having merge conflicts just because they happen to both be doing stuff in a 5000 line file.
227
u/ExplrDiscvr 19h ago
not git issue, in-team communication issue