Is there a native way in bitbucket cloud where users can be prevented to not have capability to create branches that doesnt start with feature/* , bugfix/* , user/* etc.
So i see that if i open the add branch restriction i can restrict branch creation by putting in a regex and give no one a write permission hence user not being able to create any branches.
So my question is what should be the value there so that users are not able to create branches that dont start with.
1. feature/*
2. bugfix/*
3. hotfix/*
4. develop
5. user/*
Hey @skaul
If I understand correctly, you want to prevent anyone from creating branches with specific names. If that's the case, the settings shown in your screenshot are correct. However, you'll need to create a separate branch restriction for each name pattern you want to block.
For example, using develop/* as a restriction will prevent anyone from creating branches like develop/<BranchName>.
Regards,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.