Initialiser Git-repositorier

For at begynde at styre et projektkatalog, der i øjeblikket ikke er under versionsstyring, skal du gå til Tools > Git og derefter vælge Create Repository.

Qt Creator Dette opretter en ny undermappe ved navn .git, der indeholder alle de nødvendige repository-filer. Qt Creator opretter også en fil ved navn .gitignore, der indeholder mønstre for filer, som Git ikke skal spore (f.eks. build-mapper).

Git sporer endnu ikke noget i projektet, så du skal oprette en indledende commit for at begynde at spore projektfilerne.

Se også Sådan gør du: Brug af Git og Brug af 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.