
This provides the most stable set of branches and code. Branch the feature, do whatever preliminaries are needed. Note that this starts with a branch from dev and ends with a merge to dev.Īll that said, probably the best thing to do is to avoid doing a merge from one feature to another feature.
#GIT CREATE BRANCH ON GITHUB CODE#
However, if this is new feature that depends code that isn't yet found in dev, the flow should be:

Take a little bit more time for someone to understand its role. The reason is that the start and the end don't match - it makes it a little bit harder to understand what this is and was.

Ideally, all branches merge back to the codeline they were merged from.

A key thing that git-flow was intended to address was the ability to reason about the role of a given branch, and what it branches from and merges to.
