处理 TFS 中死分支的最佳方法是什么?
在TFS中,标记死分支的最佳方法是什么? 你搬家了吗? 分支发布了吗? 删除它? 重命名吗? 对于这些方法中的每一种,您都遇到了哪些问题? 有哪些优点?
如果有一个简单的界面解决方案,可以在特定分支被标记为死亡时简单地标记或过滤当前视图,那就太好了。 这样你就不必做一些永久性的事情,比如重命名或删除分支。 。 。
In TFS, what is the best way to mark dead branches? Do you move your branch? Branch release it? Delete it? Rename it? What problems have you run into for each of these approaches? What are the good points?
It would be nice if there were a simple interface solution that would simply mark or filter the current view if a particular branch was tagged as dead. That way you wouldn't have to do something permanent like rename or delete a branch . . .
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
删除不是永久性的,所以我会选择这个选项。
然后,您可以选择是否在 SCE 中查看已删除的项目(工具 -> 选项 -> 源代码管理 -> Visual Studio Team Foundation Server -> 在源代码管理资源管理器中显示已删除的项目)。
如有必要,您可以选择取消删除分支。
Deletion isn't permanent, so I'd go with this option.
You can then opt whether or not to view deleted items in SCE (Tools -> Options -> Source Control -> Visual Studio Team Foundation Server -> Show deleted items in the Source Control Explorer).
And you can choose to undelete the branches if necessary.
合并回主干后,我们删除它们确实比将它们隐藏在工作区中容易得多,请参阅 Ian 关于删除不是永久性的。
After merging back to the trunk we do delete them much easier than having to cloak them in workspaces, see Ian's about deletes not being permanent.
我们将枯死的分支移至项目的存档区域。
TFS,不存在空间问题。
We move our dead branches to an archive area of the project.
TFS, there is not a space concern.