document the need to be owner or have the master permission level for the initial push
This commit is contained in:
parent
923a1f7ace
commit
47573a5c93
1 changed files with 2 additions and 0 deletions
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue