Initiera Git-arkiv

För att börja hantera en projektkatalog som för närvarande inte står under versionshantering, gå till Tools > Git och välj sedan Create Repository.

Qt Creator Detta skapar en ny underkatalog med namnet .git som innehåller alla nödvändiga arkivfiler. Qt Creator skapar också en fil med namnet .gitignore som innehåller mönster för filer som inte ska spåras av Git (t.ex. byggkataloger).

Git spårar ännu ingenting i projektet, så du måste skapa en första commit för att börja spåra projektfilerna.

Se även Så här gör du: Använda Git och Använda 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.