新项目或分支? [英] New project or branch?

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

问题描述

我在 Subversion 中有一个解决方案,我现在将为其创建一个客户特定的版本.这个版本不太可能完全合并回主要开发.然而,主干中将有开发,我很容易需要进入特定项目,反之亦然(自定义项目中的开发需要返回主干).

I have a solution in Subversion that I now will create a customer specific version of. It's unlikely that this version ever fully will get merged back into the main development. There will however be development both in the main trunk that I easily need to get into the specific project and the other way around (development in the custom project that needs to go back into the main trunk).

在您看来,新的自定义项目应该是与主开发并行的分支还是同一存储库中的新项目?

Should the new custom project be a branch that lives in parallel with the main development or a new project within the the same repository in your opinion?

推荐答案

我肯定会创建一个新分支.如果项目的两个变体仍然共享许多通用代码,并且它们仍然有可能被合并回一起,那么我认为将它们分成两个完全独立的项目没有任何好处.

I would definitely create a new branch. If the two variations of the project still share a lot of common code, and there's still even a remote likeliness they might be merged back together, I don't see any benefit in separating them into two totally independent projects.

我会选择一个分支 - 如果需要,它为您提供了稍后将内容合并在一起的选项.

I'd go with a branch - it gives you the options to later merge stuff back together, if needed.

马克

这篇关于新项目或分支?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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