合并/分支实践

发布于 2024-11-12 03:42:25 字数 78 浏览 9 评论 0原文

是否有任何好的互联网资源描述合并/分支的不同实践,无论源代码控制工具如何?

这应该对待客户的版本、功能的开发、错误修复程序等。

Is there any good internet resource describing different practices for merging/branching regardless of source control tool?

This should treat version to customers, development of features, bug fixers etc.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

笙痞 2024-11-19 03:42:26

一个很好的参考(我在“何时应该分支”中提到)是:

“软件如何发展”的第 7 章 (pdf)

来自 Practical Perforce ( Laura WINGERD - O'Reilly):这是一个很好的介绍(与 VCS 无关),用于合并不同类型分支之间的工作流程。

A good reference (that I mention in "When should you branch") is:

Chapter 7 of "How Software Evolves" (pdf)

From Practical Perforce (Laura WINGERD - O'Reilly): it is a good introduction (VCS agnostic) to merge workflow between different kind of branches.

暖树树初阳… 2024-11-19 03:42:26

这是一个很好的问题。我对如何最好地使用“git”也有同样的兴趣。到目前为止,我们使用的最佳解决方案是将错误修复放在最旧支持版本的“hotfix”分支上,然后将它们合并到以后的“master”分支中。对于新功能,请在单独的分支上开发它们,将“master”合并到功能分支中以使其保持最新状态,并且当需要发布功能时,将“feature”分支合并到“master”中。

A very good question. I've had the same interest in how best to use 'git'. So far, the best working solution we use is to put bug fixes on 'hotfix' branches from the oldest supported version then merge those into later and finally the 'master' branch. For new features, develop them on separate branches, merging 'master' into the feature branches to keep them up to date, and when it's time to release the feature, merge the 'feature' branch into 'master.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文