r/ProgrammerHumor • • Oct 13 '26

Meme aboutToBreakTheCode

Post image
23k Upvotes

541 comments sorted by

View all comments

Show parent comment

2

u/hazeyAnimal Oct 13 '26

I think they're targeting a very nuanced case where two people are writing code at the same lines of code. For example both try implementing an algorithm on a function and both push to the same branch.

Although Git knows this is possible and will just throw a merge conflict, most likely resulting in a manual merge

1

u/Advanced_Musician_24 Oct 14 '26

But if you make a merge request to the main repo, it means the maintener accepted two similar merge requests from two developers at the same time. It happens, I agree, but it's outside of git. git has nothing to do with it. Because merge requests are not a part of git.