Plz help me with this issue | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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

20th Jun 2022, 1:13 PM
Kushal Sharma
Kushal Sharma - avatar
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.
24th Jun 2022, 6:02 AM
Oleh Davydenko
Oleh Davydenko - avatar