Getting Local Working Copy of the Repository
In this section:
As soon as version control support is enabled in CLion, you can retrieve the data from the repository. Depending on your purpose and workflow, choose one of the following approaches:
- Check out the repository sources of an existing project. Then set up version control in the project, if it has not been done before, and put the downloaded sources under control of the VCS used.
- Check out the repository sources to a location of your choice and have CLion create a project around them. This does not require any extra steps from your side. CLion arranges the downloaded sources in a project itself and suggests to open it as soon as the check-out is completed.
Upon your consent, CLion opens the newly created project, where you only need to set up version control.
The check-out procedure depends on the type of VCS you use. Refer to the following sections for details: