How to maintain proper merge order across feature branches?

146 views Asked by At

How can the order of feature branches be preserved?

For example, say that we have three feature branches: colby, swiss, and cheddar, which all must be merged into a dev branch.

The order must be maintained as written, as each feature branch depends on the previous. Also, each feature branch must be code-reviewed and properly documented before it can be merged.; that is:

                               --- cheddar ---\    
                 --- swiss ---\                \   
   --- colby ---\              \                \
--- dev ---------+--------------+----------------+->

Is it possible to sequence pull requests, and force them to be such that they are reviewed and merged in a specific order?

0

There are 0 answers