UiPath Documentation
studio
latest
false
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

Studio 用户指南

上次更新日期 2026年5月18日

创建和管理分支

Add and manage branches from the Manage Branches window. To access it, either right-click the project node or a file in the Project panel and select Manage Branches, or use the docs image branch menu in the status bar.

  • 要添加分支:
    1. Select a branch in the table, and then click Plus 文档图像 at the top of the window.
    2. 输入分支的名称,单击从 branch_name 创建分支,然后单击“保存”。 分支被添加到列表中。
  • To refresh the list of branches, click Refresh 文档图像 at the top of the window.
  • To delete a local branch, select it, and then click Delete 文档图像 at the top of the window.
  • 要管理分支,请右键单击任何分支,然后从菜单中选择一个选项:
    • “签出分支”选项可切换到选定的分支。
    • “重定基准”选项可将当前分支重定基准为选定分支。
    • “合并”选项可将选定分支合并到当前分支中。 若要将一个分支合并到 GIT 远程存储库的主分支,您需要在 Studio 中签出该主分支,再将修改的分支合并到主分支中。
  • To switch between branches, open the 文档图像 branch menu in the status bar, and then select the branch to switch to from the list of recently checked out branches.
    备注:

    需要从“管理分支”窗口中在 Studio 中本地添加分支。尝试在分支之间切换时,从远程 GIT 存储库添加分支可能会导致问题。

如果在更改分支时检测到未提交的更改,您可以在“切换分支”窗口中将更改移到新分支或将其丢弃。

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新