GitLab push code prompt A default branch (eg master) does not yet exist for xx/xx

The cause of the problem: GitLab project permissions are set incorrectly

As a developer, you don’t have permission to create the default master branch, you need the manager to create one

 

Solution:

Method 1: The person with the highest authority initializes the master branch 

Method 2: The pusher is set to the highest authority

Guess you like

Origin blog.csdn.net/javanbme/article/details/114531721