Unable to create a branch with branch types if its prefix is occupied
Due to Git spec, it's unable to create a branch if its prefix is preoccupied as other branch's name and vice versa.
This also possibly happens to branching model.
- Create a branch named "feature"
- Enable "Feature" in branching model configuration
The error message should clarify why branch creation fails like below or guide how to apply the workaround.
The below error message is shown:
We couldn't create a branch
If this keeps happening, contact support.
The error can occur the other way round:
- Enable "Release" in branching model configuration
- Create a branch prefixed "release/"
- Try creating a branch named "release"
In this case, the branch creation page better to make users unable to specify reserved names (feature, bugfix, hotfix, release).
Rename or delete the pre-existing branch which blocks prefix.