Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想开发一个有两个版本(基本版和专业版)的新项目。 基础版和专业版有一些定制。所以我想我应该如何正确管理分支机构以满足我的要求。 这是我思考的结果:
第二张图片显示了从Version1.0分支到Release1.0分支以及Master分支和Version2.0分支的一些错误修复的更新。 你怎么看? 我如何执行Shift forward...操作(在第二张图片中)? (我必须使用 Git)
Version1.0
Release1.0
Master
Version2.0
Shift forward...
从 Git 的标准工作流程开始会更容易:git-flow,在此GitHub 存储库中定义。 请参阅这篇入门文章:
这将管理版本和功能。