I deal with serious conflicts, because sometimes a process gets modified by multiple people. So, if you can't prevent dumbasses from committing, it takes definitely more than 0.1%.
I'll bite, because this is a regular pain for me. What process would prevent 2 people from modifying the same file, when it's necessary for their independent features, both with a similar deadline? And please don't say better arcitecture, because while that would solve it, but it's not a process and there's no time to redo half the legacy montrosity.
Modifying the same file is usually not an issue for GIT. To cause a conflict you will usually have to be literally modifying the same lines of code. So if you have a reasonable development flow, it’s should be rare that people even need to modify the exact same functions at the same time. If this happens a lot, it sounds like either bad communication or very poorly written code (and I say this, working in a company with a lot of poorly written code, where GIT has actually reduced the amount of conflicts we have in commits).
View all comments
Show parent comment
6
u/0815fips Oct 13 '26
I deal with serious conflicts, because sometimes a process gets modified by multiple people. So, if you can't prevent dumbasses from committing, it takes definitely more than 0.1%.