Commit f0c0edc2 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'improve-protect-wording' into 'master'

Improve protect wording

See merge request !1103
parents 5c908ba2 41601806
%h3.page-title Protected branches
%p.light This ability allows to keep stable branches secured and force code review before merge to protected branches
%p.light This ability keeps stable branches secure and forces developers to use code reviews
%hr
.bs-callout.bs-callout-info
%p Protected branches designed to
%p Protected branches are designed to
%ul
%li prevent push for all except #{link_to "masters", help_page_path("permissions", "permissions"), class: "vlink"}
%li prevent branch from force push
%li prevent branch from removal
%p Read more about project permissions #{link_to "here", help_page_path("permissions", "permissions"), class: "underlined-link"}
%li prevent pushes from everybody except #{link_to "masters", help_page_path("permissions", "permissions"), class: "vlink"}
%li prevents anyone from force pushing to the branch
%li prevents anyone from deleting the branch
%p Read more about #{link_to "project permissions", help_page_path("permissions", "permissions"), class: "underlined-link"}
- if can? current_user, :admin_project, @project
= form_for [@project, @protected_branch], html: { class: 'form-horizontal' } do |f|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment