Qt & Git: Creating a Local Git Repository

× Attention:   Have you configured Git to work with Qt?

This brief tutorial shows you how to set up a local Git repository for an existing Qt project.

  1. Open the Qt project for which you want to set up a local Git repository.

  2. Go to the Tools menu and choose Git > Create Repository...:

  3. The Choose Repository Folder dialog appears. In the dialog's address bar, hit the name of your project's folder to select it as the location for the .git repository folder:

  4. Hit Select Folder, then hit OK.

Where to Go Next

With Git configured in Qt, you can then...