Using git clone to create a new CODESYS project already in Git management

With Git Clone, a new CODESYS project is created, which is version-managed in Git. As a result, cloning a remote repository creates the new project storage (the new working directory with the Git repository).

Requirement: CODESYS Git is installed. You have access to a remote repository.

  1. Open CODESYS Git. Click Git → Git Clone. It is available when no CODESYS project is open.

    • The Git Clone dialog opens.

  2. In the CODESYS project, click Git → Git Branches.

    • In the Git Branches view, the remote branches are already visible. By default, for the remote "master" branch, a local "master" branch is also created, which tracks the remote branch. Now you can start working in this local branch immediately. In addition, a link (tracking) of the local branch to the "representative" remote branch (origin/master) of the new Git repository is already established.