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

This commit is contained in:
Pierre-Alexandre Clorichel 2016-09-30 06:57:58 +00:00
parent 923a1f7ace
commit 47573a5c93

View file

@ -23,6 +23,8 @@
or a
= link_to '.gitignore', add_special_file_path(@project, file_name: '.gitignore'), class: 'underlined-link'
to this project.
%p
You will need to be owner or have the master permission level for the initial push, as the master branch is automatically protected.
- if can?(current_user, :push_code, @project)
%div{ class: container_class }