Git with Qt Creator Basics: How to Clone a Git Repository

Git is one of the most popular version control systems and Qt Creator provide very intuitive and easy to use tools to interact with Git and skip all the command-typing that is required by Git. I think it is safe to assume that you already know how to get Git ( If Git is already installed and present in the system then Qt Creator will automatically pick it up and you can start using it right away.

So first thing is first, I’ll describe how to Clone a Git Repository. Cloning means getting a copy of a remote repository to be able to use it or work on it.

Run Qt Creator and create a New Project. This will open the following window. Select Import Project from the left side and then select Git Clone.

qt git clone

Now you need to enter the URL for the Git repository you want to clone. In this example we’ll assume that we want to clone this repository:

This is a public repository of mine that we can safely use for testing.

Enter the URL as seen below and press Next.

qt git clone

If you are trying to Clone a private repository then you will be asked for the user credentials.

Finally you’ll see the following window which also means you successfully cloned the repository.

qt git clone

2 Replies to “Git with Qt Creator Basics: How to Clone a Git Repository”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.