问题
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:
- Work on your
feature
branch - Finish work and merge your
feature
branch to staging - Make
release
branch fromstaging
. - Add version and tag than merge it to
master
amdstaging
both.
I think this would be helpful for you.
来源:https://stackoverflow.com/questions/54924227/how-to-use-git-flow-without-using-release-branch