如何从层次结构的中间删除分支? [英] How to Remove a Branch from the Middle of the Hierarchy?

查看:121
本文介绍了如何从层次结构的中间删除分支?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个团队项目,它是根据ALM Rangers的分支指南中的标准分支模式创建的:

I have a Team Project created with the "Standard" branch pattern from the ALM Rangers' Branching guidance:

创建后,我发现我只需要基本模式。也就是说,我不需要 Service Pack分支。

After creating it, I found that I only really needed the "Basic" pattern. That is, I don't need the "Service Pack" branch.

我是否可以删除 Service Pack分支并修复层次结构?以便发布在层次结构中的主要之下?现在, Service Pack层次结构中的每个变更集在 Release层次结构中都有一个对应的变更集,因为 Service Pack才刚刚出现。

Is there a way for me to remove the "Service Pack" branch and "heal" the hierarchy so that "Release" is under "Main" in the hierarchy? Right now, every changeset in the "Service Pack" hierarchy has a corresponding changeset in the "Release" hierarchy, as "Service Pack" has just been in the way.

推荐答案

最简单的解决方案是不删除或重设父项。

The simplest solution is to not remove or reparent.

Service Pack分支仅是名称上的 Service Pack分支。删除版本分支,然后将服务包分支重命名为版本。

The service pack branch is the "service pack branch" in name only. Delete the "release" branch and rename the "service pack branch" to "release".

这篇关于如何从层次结构的中间删除分支?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆