Building only for certain branches - confused

Hello,
If I understand correctly
from the doc then the way to configure circleci to only build certain branches is to adjust .circleci/config.yml in the repo itself. However this file exists on a branch itself, and could exist in different versions in different branches. So if one branch can have a config.yml that says build branch B1, and another branch has a config that says dont build B1, etc how is this good and how is circleci supposed to decide what to do.

Seems like having each branch specify how all branches are handled is redundant at best and a mess at worst.

Maybe Im missing or misunderstanding something?

Thanks in Advance

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.