I created a new project and tried pushing to it from existing files on my computer. However I am getting the message “You are not allowed to push code to protected branches on this project”. I’ve tried going though the instructions that are displayed after creating a project a number of times, but I keep getting the same error.
The error also says “[remote rejected] master -> master”. I am using the command “git push -u origin master” as per the instructions.
I also cannot switch to “Protected Branches” in the project settings - when the page reloads, I just see the post-creation instructions again.
What are your user rights? Because in default configuration (if I remember right) nobody except Project Owner can push to protected branches (master by default is a protected branch)