VERSION CONTROL Window
The VERSION CONTROL window, located in the Cross Function Area at the lower screen border, enables the integration of the version control systems SVN and Git into PLCnext Engineer. Here, a VCS can be selected and various repository-related functions are provided.
Further Info
For detailed information about the VERSION CONTROL window and how to work with it, see the topic "Version Control System". |
Toolbar Tab 'Tool'
Icon | Command | Description | SVN/Git Command |
-- | 'Version control' drop down list | Selects the VCS used. | n/a |
 | Create repository | Creates a repository for the VCS selected. A new repository can only be created in an empty folder.The repository can be created on a local or network folder. | n/a |
 | Get working copy | Creates a working copy by checking out data from the repository. A dialog appears where you have to select the repository and set an empty working folder. | SVN: Checkout |
Git: Checkout |
Toolbar Tab 'Pending Changes'
Icon | Command | Description | SVN/Git Command |
 | Refresh | Refreshes the list of pending changes and sets the number of visible list entries. | SVN: Refresh (in Repo browser) |
Git: n/a |
 | Commit | Sends the modifications you made to your working copy to the repository (check-in). Make sure that your working copy is up to date prior to commmitting (using the 'Update' (with SVN) or 'Pull' (Git) command).Note that with Git, the revision is committed to the local repository and have to be pushed to the public main repository later (see 'Push' below). | SVN: Commit |
Git: Commit |
 | Push | Transfers data from your local Git repository to the public master repository. Pushing is necessary for synchronizing several local repos with the master repository thus integrating the local modifications of each user. Afterwards, other users can pull modifications into their local repository and working copy (see 'Pull' below). | SVN: n/a |
Git: Push |
 | Update | Updates your local working copy with changes that other users committed to the SVN repository. The command checks the repository for updates (compared to your working copy) and, if available, merges them into your working copy. Any modifications you made in the affected files are kept. The repository is not changed by the 'Update' command.
| SVN: Update |
Git: n/a |
 | Revert | Discards all pending changes and reverts the project to the revision which was committed last. | SVN: Revert |
Git: Revert |
 | Pull | Checks the public master Git repository for differences (updates compared to your working copy) and merges them into your local Git repository and into your working copy. Such updates are necessary if the public master repository contains commits of other users.Any modifications you made in the affected files are kept. The public master repository is not changed by the 'Pull' command.
| SVN: n/a |
Git: Pull |
Toolbar Tab 'History'