0
Plz help me with this issue
I wrote some code and want to push it to gitlab but wen I try to push it It says Remote: not allowed to push this code How can I correct this
1 Answer
+ 2
there's no problem - everything works as expected.
In GitLab some branches can be protected. By default only Maintainer/Owner users can commit to protected branches . master branch is protected by default - it forces developers to issue merge requests to be validated by project maintainers before integrating them into main code.
You can turn on and off protection on selected branches in Project Settings.