如何为新版本标记分支 [英] How to label branch for a new release

查看:90
本文介绍了如何为新版本标记分支的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为新部署标记代码的最佳方法是什么?也许最好创建一个新的分支?

What is the best way to label code for a new deployment? Maybe it is better to create an new branch instead?

推荐答案

可能是我迄今为止使用TFS和最佳实践找到的最佳资源:



http://tfsguide.codeplex.com [ ^ ]







这是我的意思:



http://vsarbranchingguide.codeplex.com/ [ ^ ]



上面的一本是TFS 2008的旧书。我认为。
Probably the best resource I''ve found so far on using TFS and best practices:

http://tfsguide.codeplex.com[^]



This is the one that I meant:

http://vsarbranchingguide.codeplex.com/[^]

The one above is an older book for TFS 2008 I think.


这样做没有标准。您可以根据需要组织代码。我个人喜欢为主要版本和次要版本创建一个分支。如果您计划重建旧版本,添加标签会使这更容易。



我建议这样的东西但是又有很多方法可以做到这一点



There is no standard for doing this. You can organize your code as you want. Personally I like to create a branch for major and minor versions. If you plan to rebuild older versions, adding labels makes this even easier.

I’d suggest something like this but again, there are many ways to do this


\Branches
\1.1
\1.2(从1.1分支)
\2.1(从1.2分支)
\2.2(从2.1分支)
\Branches \1.1 \1.2 (branched from 1.1) \2.1 (branched from 1.2) \2.2 (branched from 2.1)


这篇关于如何为新版本标记分支的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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