实践证明,在开发需要多个用户之间顺畅协作的大型项目时,来源控件系统非常方便。您可以通过访问“主页”(Studio 后台视图) > “团队”来将 Studio 自动化项目连接到 GIT、SVN 或 TFS。


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.


在 Studio 中打开项目时,通过状态栏中的“添加到来源控件”按钮,您可以找到“GIT Init”、“复制到 GIT”、“添加到 TFS”和“添加到 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.
备注:
您无法同时连接到“GIT”、“TFS”和“SVN”。
The GIT Version Control offers an overview and instructions on how to work with GIT-versioned projects in Studio.
The steps for checking in your projects to a TFS or SVN repository are detailed in the dedicated pages Managing Projects with TFS and Managing Projects with SVN.
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.
2 个月前更新