이 페이지에서

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

‘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.