全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Merge conflict?

Definition 9.8 University Computer Science — Year 1 · 第 9 章 — Version Control with Git

A merge conflict arises when both sides of a three-way merge changed the same lines of a file differently since the merge base. Git then stops before committing, writes both versions into the file between the markers <<<<<<<, ======= and >>>>>>>, and waits for a person to write the right result, stage it with git add and commit.

A conflict. Each side changed line 2 of the merge base, in a different way; the lines that only one side changed, or neither, are merged without a question.
A conflict. Each side changed line 2 of the merge base, in a different way; the lines that only one side changed, or neither, are merged without a question.
在原文中阅读 →