What exactly does cause merge conflict in git?
问题 I wonder when exactly a merge conflict occurs. My assumption is that it occurs when a file was modified in both branches. In more details, if a file was modified in one branch but not in another one, the "modified" version will be used (the "old" version is replaced by a "new" one). If there are two "new" versions (coming from two branches), git does not know what version to use, so a manual merge is required. However, I am not sure about my understanding. I can imagine that even if the same