Gitlab - allow push to master / main branch

3 points
Created by:

In order to push to master branch we need to unprotect master branch.


  1. Go to your project and select Settings -> Repository.
  2. Expand Protected branches.
  3. Click 'Unprotect' button


Here is a screenshot how to do that:

Steps to unprotect a branch in gitlab
Steps to unprotect a branch in gitlab
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂