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 分支理解 #39

Open
ClarenceC opened this issue Sep 30, 2018 · 0 comments
Open

关于项目中 Git 分支理解 #39

ClarenceC opened this issue Sep 30, 2018 · 0 comments

Comments

@ClarenceC
Copy link
Owner

ClarenceC commented Sep 30, 2018

现在公司开发的过程中分三种分支:
develop 开发分支 用于 dev 测试
master 测试分支 用于 sit 测试
release 生产分支 用于 uat 测试

还有四种短期分支,是临时创建之用的,可以合并到主分支上面

  • 功能分支(feature branch)用于开发主功能的 bug
  • 补丁分支(hotfix branch)用于修复紧急的 bug
  • bug修复分支 (bugfix branch) 用于修复日常(当天)的bug
  • 预发分支(release branch)用于开发发版功能的分支

每个公司安排合并分支都会有不同的要求,对分支的实现功能要求也有不同的。

image

git flow A successful Git branching model

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant