diff --git a/packages/frontend/src/components/dialogs/BranchNewDialog.vue b/packages/frontend/src/components/dialogs/BranchNewDialog.vue index 5960c5dee..27a6b48b1 100644 --- a/packages/frontend/src/components/dialogs/BranchNewDialog.vue +++ b/packages/frontend/src/components/dialogs/BranchNewDialog.vue @@ -44,6 +44,9 @@ export default { name: null, nameRules: [ (v) => !!v || 'Branches need a name too!', + (v) => + (v && !v.startsWith('globals')) || + 'Globals is a reserved branch name. Please choose a different name.', (v) => (v && this.branchNames.findIndex((e) => e === v) === -1) || 'A branch with this name already exists',