git merge
Para unir os históricos de desenvolvimento de dois ramos, acesse “ Tools ” > “ Git ” > “ Local Repository ” e selecione “ Branches ”.
Na visualização Git Branches, clique com o botão direito do mouse em um branch remoto e selecione uma opção de mesclagem no menu de contexto. Se for possível chegar ao commit que você está mesclando seguindo o histórico do primeiro commit, não há trabalho divergente a ser mesclado. Para permitir que o Git avance o ponteiro do branch, selecione “ Merge <remote branch> into <local branch> (Fast-Forward) ”. Se você não quiser avançar o branch, selecione “ Merge <remote branch> into <local branch> (No Fast-Forward) ”.
Configurar ferramentas de mesclagem
Apenas ferramentas gráficas de mesclagem são suportadas. Você pode configurar a ferramenta de mesclagem a ser usada na linha de comando. Por exemplo, para usar a ferramenta de mesclagem KDiff3, digite o seguinte comando:
git config --global merge.tool kdiff3
Veja também Como: Usar o Git e Usando o Git.
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.