Skip to content

A default branch (e.g. master) does not yet exist for test/test6 in version 11.3

i have a issue....in version 11.3

When i create a new project appears the next message:

Contando objetos: 3, listo.

Escribiendo objetos: 100% (3/3), 230 bytes | 230.00 KiB/s, listo.

Total 3 (delta 0), reused 0 (delta 0)

remote: GitLab:

remote: A default branch (e.g. master) does not yet exist for test/test6

remote: Ask a project Owner or Maintainer to create a default branch:

remote:

remote: http://localhost/gitlab/test/test6/project_members

remote:

To http://localhost/gitlab/test/test6.git

! [remote rejected] master -> master (pre-receive hook declined)

error: fallo el push de algunas referencias a 'http://localhost/gitlab/test/test6.git'


alb @medusaalb · 1 hour ago

Then i have to login with gitlab admin admin...Aggregate access to user test to test6.git as a dev or maintener... and finally i can make push... But if user test creates another repo i have to repeat all these steps again....


I have been making some checks and...it is not the owner who creates the repo (with git push -u origin master) ...it is the admin of gitlab

Edited by Israel Weeks