このページでは

git merge

ふたつのブランチの開発履歴をひとつにまとめるには、Tools >Git >Local Repository に移動し、Branches を選択します。

Git Branches ビューでリモートブランチを右クリックし、コンテキストメニューからマージオプションを選択します。マージするコミットに最初のコミットの履歴をたどって到達できる場合は、マージする分岐作業はありません。Git がブランチポインタを先に進めるようにするには、Merge <remote branch> into <local branch> (Fast-Forward) を選択します。ブランチを早送りしたくない場合は、Merge <remote branch> into <local branch> (No Fast-Forward) を選択します。

マージツールの設定

グラフィカルなマージツールだけがサポートされています。コマンドラインで使用するマージツールを設定することができます。例えば、KDiff3マージツールを使用するには、次のコマンドを入力します:

git config --global merge.tool kdiff3

How To: Gitと 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.