How to use git flow without using release branch?

☆樱花仙子☆ 提交于 2020-03-02 09:28:29

问题


There are several branches available in git flow. such as

  • feature/
  • release/
  • support/
  • hotfix/
  • bugfix/

I do not need release/ branch and want to merge staging branch (a development branch) directly to master. What is the best way to achieve this using git flow?


回答1:


I think this would be mandatory to make release branch for every release in production or your master branch

So There is no alternative way to do this.

Simply flow is as below:

  1. Work on your feature branch
  2. Finish work and merge your feature branch to staging
  3. Make release branch from staging.
  4. Add version and tag than merge it to master amd staging both.

I think this would be helpful for you.



来源:https://stackoverflow.com/questions/54924227/how-to-use-git-flow-without-using-release-branch

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!