Command: Git init

Symbol:

(git init)

Function: The command opens the Initialize Git Repository dialog to initialize a local Git repository for the open CODESYS project. During initialization, the project is imported into Git, which creates a local repository and the index for the project (Git project storage). As a result, the Git working directory for the project is created.

Call: Git menu

Requirement: A CODESYS project is open.

 WARNING

When encryption is set for the CODESYS project (CODESYS-Project SettingsSecurity), the Git repository (neither local nor remote) is not automatically protected accordingly.

Dialog: Initialize Git Repository

Input field for the path of the local Git directory

Path of the empty directory in the file system which should be used for the new Git project storage

Example: D:\git_local\rep1

OK

The open project is imported into Git and the local repository is created for the project.

In the navigator views of the project, the objects are identified by the following symbols:

  • Root node of the project:

  • All other objects and devices of the project:

Corresponding Git messages are displayed in the message window.