Skip to content

document the need to be owner or have the master permission level for the initial push

What does this MR do?

It documents the new behavior as discussed on gitlab-org/gitlab-ce#22543, because the /protected_branch URL of empty repository is not available and could mislead users.

Are there points in the code the reviewer needs to double check?

Don't think so

Why was this MR needed?

When you create a repository on GitLab, command line instructions on its home page for the use case "Existing folder or Git repository" invite you to git push -u origin master, but the very first push is now rejected if you are not Owner or attributed Master permission.

Screenshots (if relevant)

Capture_d_écran_2016-09-30_à_14.55.20

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

  • new behavior was introduced here : gitlab-org/gitlab-ce@71dec8b1b61e9e194d242d37b39416b72020936b
  • lack of documentation was discussed at gitlab-org/gitlab-ce#22543

Merge request reports