git merge
Da biste spojili razvojne povijesti dviju grana, idite na Spojiti i prebrisati ( Tools > Git > Local Repository ) i odaberite Spojiti ( Branches).
U prikazu Git Branches desnom tipkom miša kliknite na udaljenu granu, a zatim u kontekstnom izborniku odaberite opciju spajanja. Ako se do commita koji spajate može doći praćenjem povijesti prvog commita, nema razdvojenog rada koji treba spojiti. Da biste omogućili Git-u da pomakne pokazivač grane naprijed, odaberite Merge <remote branch> into <local branch> (Fast-Forward). Ako ne želite brzo napredovanje grane, odaberite Merge <remote branch> into <local branch> (No Fast-Forward).
Konfigurirajte alate za spajanje
Podržani su samo grafički alati za spajanje. Alat za spajanje možete konfigurirati na naredbenom retku. Na primjer, za korištenje alata za spajanje KDiff3 unesite sljedeću naredbu:
git config --global merge.tool kdiff3
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.