I am trying to push the leading branch of the repo and I cannot do this because it is protected.
I tried to study the project settings and do not see the possibility for protected branches. The only option I could see was members.
remote: GitLab: You are not allowed to push code to protected branches on this project. To git@gitlab.ins.risk.regn.net :cmd/release.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to ' git@gitlab.ins.risk.regn.net :cmd/release.git'
In my repo, there is only one branch in which there is no content yet.
I see the options for the protected branches of my other repo, but not for this particular one.
This is a new repo with no content and with a default branch.
I have master permission.
Unfortunately, I cannot upload the image here somehow.
Please suggest how to push the code to the master branch.
source share