DEV Community

Discussion on: why branching on git is wrong

Collapse
 
itenev profile image
Ивелин Тенев

Above all, the purpose of branching is to isolate the impact of said changes. Feature toggle works well in most cases, but not all. It does not handle dependencies well, for one. Also, how do you run your integration and functional tests? With all changes in develop, these will be failing all the time.

The worst part of "gitflow w/o feature branches", I believe this is what we are talking about here, is that a defect introduced by any of the teams working on develop will impact all other teams as well.

Collapse
 
anortef profile image
Adrián Norte

how do you run your integration and functional tests? With all changes in develop, these will be failing all the time.

The CI server does it for me.

The worst part of "gitflow w/o feature branches", I believe this is what we are talking about here, is that a defect introduced by any of the teams working on develop will impact all other teams as well.

That is the idea, you want to fail fast to fix it faster.

Collapse
 
itenev profile image
Ивелин Тенев