From e574bc46dadec059ba04f250ab51831707ab33b0 Mon Sep 17 00:00:00 2001 From: Alex Sychev Date: Mon, 30 Jan 2012 12:08:21 +0400 Subject: [PATCH] Merge section was translated --- index-ru.html | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/index-ru.html b/index-ru.html index fcf5915..7d23794 100644 --- a/index-ru.html +++ b/index-ru.html @@ -261,24 +261,27 @@

Reset

Merge

-

A merge creates a new commit that incorporates changes from other - commits. Before merging, the stage must match the current commit. The - trivial case is if the other commit is an ancestor of the current commit, in - which case nothing is done. The next most simple is if the current commit - is an ancestor of the other commit. This results in a fast-forward - merge. The reference is simply moved, and then the new commit is checked - out.

+

Команда merge (слияние) создает новый коммит на основе текущего коммита, + применяя изменения других коммитов. Перед слиянием сцена должна быть + приведена в соответствие с текущим коммитом. Самый простой случай слияния — + это когда другой коммит является предком текущего коммита: в этом случае + ничего не происходит. Другой простой случай слияния — когда текущий коммит + является предком другого коммита: в этом случае происходит быстрая + перемотка (fast-forward). Ссылка текущей ветки будет просто + перемещена на новый коммит, а сцена и рабочая директория будут приведены в + соответствие с новым коммитом.

-

Otherwise, a "real" merge must occur. You can choose other strategies, - but the default is to perform a "recursive" merge, which basically takes the - current commit (ed489 below), the other commit (33104), - and their common ancestor (b325c), and performs a three-way merge. - The result is saved to the working directory and the stage, and then a - commit occurs, with an extra parent (33104) for the new commit. -

+

Во всех других случаях выполняется «настоящее» слияние. Вы можете + изменить стратегию слияния, но по умолчанию будет выполнено «рекурсивное» + слияние, для которого будет взят текущий коммит (ed489 ниже на + схеме), другой коммит (33104) и их общий предок (b325c); и + для этих трех коммитов будет выполнено + трехстороннее + слияние. Результат этого слияние будет записан в рабочую директорию и на + сцену, и будет добавлен результирующий коммит со вторым родителем + (33104).