Source control systems prove very handy when developing larger projects that require smooth collaboration between multiple users. You can connect Studio automation projects to GIT, SVN, or TFS by accessing Home (Studio Backstage View) > Team.
The source control plugins for GIT, SVN, and TFS are enabled by default in Studio. You can enable or disable them individually from Home (Studio Backstage View) > Tools > Plugins.
When a project is open in Studio, the Add to Source Control button in the status bar offers shortcuts to GIT Init, Copy to GIT, Add to TFS, and Add to SVN.
We recommend adding all the files and subfolders in the project folder to source control (the
.local subfolder is ignored by default). In addition, make sure there are no ignore lists such as
.gitignore files configured in a way that excludes project files and subfolders.
Only the files and subfolders from the project folder (the folder containing the
project.json file) can be added to source control from Studio. If you want to add files or folders from outside the project folder, you must use other source control clients.
You cannot connect to GIT, TFS and SVN at the same time.
The GIT Version Control offers an overview and instructions on how to work with GIT-versioned projects in Studio.
Part of working with versioned files is the possibility to compare changes between the local version of the file and the one checked in the repository. You can do so using Workflow Diff.
If you want to compare two similar files in the same automation project, use Compare Files, which is also available for unversioned files.
Updated 8 months ago