esdc-devcop / esdc-devcop.github.io

Defining the strategy and plan for the DevCoP events
https://esdc-devcop.github.io
Other
9 stars 7 forks source link

Recommend a branching model #10

Closed s-laugh closed 4 years ago

s-laugh commented 5 years ago

Goals / Recommendation

Use GitFlow when starting a branching model with Git. https://datasift.github.io/gitflow/IntroducingGitFlow.html

Recommendation details are documented here, with some extra parts for committing/merging code that will assist in using this branching model. https://esdc-devcop.github.io/guides/source-control/working-with-git.html

Thoughts:

Plan:

pabrams commented 5 years ago

I like how Microsoft's Release Flow doesn't have a dev branch and uses master as the working branch, but I think they can get away with that because they use feature flags.

s-laugh commented 5 years ago

I like how Microsoft's Release Flow doesn't have a dev branch and uses master as the working branch, but I think they can get away with that because they use feature flags.

There are a lot of different't flows out there. With our development we don't use GitFlow exactly but we take from a lot of the key points and work with a flow that works for our team and deployment cycles. Ultimately we will suggest the same for every team.

GitFlow was picked because it is very similar to how we have been doing development in ESDC for many years, and provides a very well defined and described process to follow that still allows for customization depending on the project.