Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Merge conflict?

Definition 9.8 University Computer Science — Year 1 · Capítulo 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.
Leer en el capítulo →