gitgit-branchgitlab

Property to prevent gitlab from protecting default branches


With version 7.4 gitlab changed the behaviour of protected branches in new projects.

In every new project the default branch e.g. master is a protected branch, meaning developers are not able to push to it. In my company a lot of developers work on the default/master branch and are now struggeling when starting a new project.

My Question: Is there a property in the ui or in the gitlab.rb to restore the pre 7.4 behaviour and to not protect the default branch?


Solution

  • Seems there isn't a default property. But there already is a feature request at feedback.gitlab.com