Izrada i primjena zakrpa
Zakrpe su upute za prepisivanje koje Git može primijeniti na skup datoteka.
Za generiranje patch datoteka iz lokalnih komitova:
- Idite na Tools > Git > Local Repository.
- Odaberite Patch > Create from Commits.
- U dijalogu odaberite commite za izradu patch datoteka.
- Odaberite OK.
Datoteke zakrpa generiraju se u korijenskom direktoriju lokalnog repozitorija i slijede shemu NNNN-Title-of-Commit.patch, gdje je NNNN četveroznamenkasti broj koji započinje s 0000.
Da biste primijenili patch datoteku koja je otvorena u Qt Creator, idite na Tools > Git > Local Repository i odaberite Patch > Apply from Editor.
Da biste odabrali datoteku zakrpe za primjenu iz sustava datoteka, odaberite Apply from File.
Za primjenu zakrpe s međuspremnika odaberite Apply from Clipboard.
Vidi također Kako: Koristiti Git i 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.