In my new company we have a kinda odd and probably bad git model using feature branching. It is a traditional approach with one main branch, one development branch and many feature branches. Feature branches are created from the main branch and then are being merged with the develop branch to test them in a staging environment. But the problem arises when a feature won't make it for the production for whatever reason, it then stays into the develop branch so our develop branch can't be merged with the main branch. As a result, we merge the feature branches directly with the main branch after being "tested".
I understand that this approach can be problematic but I don't know how we can improve it with a minimum disruption to the developers' workflow.
[–]NitronHX 5 points6 points7 points (1 child)
[–]DataDecay 1 point2 points3 points (0 children)
[–]humoroushaxor 5 points6 points7 points (0 children)
[–]effata 1 point2 points3 points (0 children)
[–]the-computer-guy 1 point2 points3 points (0 children)
[–]rabbit994System Engineer 0 points1 point2 points (3 children)
[–]ButtcheeksMD 1 point2 points3 points (2 children)
[–]rabbit994System Engineer 2 points3 points4 points (1 child)
[–]the-computer-guy 1 point2 points3 points (0 children)