Crea e applica le patch
Le patch sono istruzioni di riscrittura che Git può applicare a un insieme di file.
Per generare file di patch dai commit locali:
- Vai su Tools > Git > Local Repository.
- Seleziona " Patch " > " Create from Commits".
- Selezionare i commit per la creazione dei file di patch nella finestra di dialogo.
- Selezionare " OK".
I file di patch vengono generati nella directory principale del repository locale e seguono lo schema NNNN-Titolo-del-commit.patch, dove NNNN è un numero a quattro cifre che inizia con 0000.
Per applicare un file di patch aperto in " Qt Creator", andare su " Tools " > " Git " > " Local Repository " e selezionare " Patch " > " Apply from Editor".
Per selezionare il file della patch da applicare dal file system, selezionare Apply from File.
Per applicare una patch dagli appunti, selezionare Apply from Clipboard.
Vedi anche Come: Utilizzare Git e Utilizzo di 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.