I am new to using git-flow
and have got some queries.
Let's say I have master
& dev
branches created upon git flow init
and
feature/master-api
branch made from dev
branch.
Once I complete the feature I do git flow feature finish master-api
. The feature branch gets merged into my local dev
branch.
Are my team members supposed to create a new branch from dev
and raise an MR to dev
?
Same goes when doing git flow release finish 1.0.0.1
. Code gets merged into local master
branch and back-merged into local dev
.
dev
and master
(maybe release/
) branches are supposed to be protected
branches.
So how do we manage MR for code reviews?