4 ms·
TLDR: instead of using diffs of changed lines in branches, use 'if' statements in code to make Enterprise Continuous Integration gods happy.
by ungzd 10y ago
TLDR: instead of using diffs of changed lines in branches, use 'if' statements in code to make Enterprise Continuous Integration gods happy.
- UK-AL 10y agoThe advantages of feature branches is that you can turn them on and off easily without trying merge in, or revert and dealing with the resultant conflicts this can cause. Feature switches also have more advanced features like being able targeting specific users, if you want a gradual rollout. We use both feature branches and feature switches, since branches short be very short lived. However large areas of development require months.