패치 생성 및 적용

패치는 Git이 일련의 파일에 적용할 수 있는 수정 지시문입니다.

로컬 커밋에서 패치 파일을 생성하려면:

  1. Tools > Git > Local Repository 로 이동합니다.
  2. Patch > Create from Commits 을 선택합니다.
  3. 대화 상자에서 패치 파일 생성을 위한 커밋을 선택합니다.
  4. OK 를 선택합니다.

패치 파일은 로컬 리포지토리의 루트 디렉터리에 생성되며, NNNN-Title-of-Commit.patch 형식을 따릅니다. 여기서 NNNN은 0000으로 시작하는 4자리 숫자입니다.

Qt Creator 에서 열려 있는 패치 파일을 적용하려면, Tools > Git > Local Repository 로 이동하여 Patch > Apply from Editor 를 선택하십시오.

파일 시스템에서 적용할 패치 파일을 선택하려면 Apply from File 를 선택하십시오.

클립보드에 있는 패치를 적용하려면 ‘ Apply from Clipboard ’를 선택하십시오.

‘방법: 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.