We currently support two branching strategies; gitflow and trunk-based dev. My company started using what I'd call a hybrid (read not correctly IMO) gitflow model, but the direction of the company is to move to trunk-based development. I like the direction, but what's the best way to do this? I'm looking for best practices, but was unable to find this topic discussed online.
We use GitHub for SCM
In our hybrid gitflow branching strategy, our git projects are not currently (IMO) using the gitflow "master" branch correctly.
Should we:
- Create new git projects in GitHub and archive the older gitflow based git projects
- Block access to the "master" branches in the gitflow based git projects
- Delete the "master" in the gitflow based git projects, and then follow trunk-based dev
Thanks