Command: Git Clone
(git clone
)
Function: The command opens the Git Clone dialog. With the help of the dialog, a remote repository is copied to an empty directory, which in turn becomes a new local Git repository. After the copy operation, the local repository contains the complete history of the remote repository.
Call: menu
Requirement: No project is open in CODESYS.
Warning
When encryption is set for the CODESYS project (CODESYS-Project Settings – Security), the Git repository (neither local nor remote) is not automatically protected accordingly.
Clone from | |
Source URL | URL or file path of the remote repository |
Clone to | |
Git storage path | File directory for the Git project storage (directory location of the local repository). Example: |
Project file | File path for the project file (project directory). Note: The project file must not be in the same directory as the Git project storage. Example: |
Project file type |
|
Related to the clone operation, you can use the Recover Project from Repository command to load a project, which already exists in the Git repository, as a new CODESYS project.