Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我认同的Git分支管理策略 #1

Open
miclay opened this issue Jun 26, 2013 · 0 comments
Open

我认同的Git分支管理策略 #1

miclay opened this issue Jun 26, 2013 · 0 comments
Assignees
Labels
Milestone

Comments

@miclay
Copy link
Owner

miclay commented Jun 26, 2013

中心分支

介绍

  • maste主分支:保持一个稳定状态的对外发布版本。
  • dev开发分支:保持最新开发进展的一个分支。

辅助分支

介绍

  • daily分支:从master创建,用于日常开发、fix、部署,发布时,先合并到master,在合并到dev,然后删除该daily分支。
  • feature分支:从dev创建,用于开发一个特色功能,完毕时,合并回dev。若需要发布,须要通过创建daily分支辅助发布。featrue发布后,可以删除该分支,也可以有计划地保留。
  • 版本分支:发布之前打一个和daily分支一样版本号的tag

参考:
http://nvie.com/posts/a-successful-git-branching-model/
http://roclinux.cn/?p=2129

@ghost ghost assigned miclay Jun 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant