=link_to'Unprotect',[@project.namespace.becomes(Namespace),@project,branch],data: {confirm: 'Branch will be writable for developers. Are you sure?'},method: :delete,class: "btn btn-warning btn-sm"
=link_to'Unprotect',[@project.namespace.becomes(Namespace),@project,protected_branch],data: {confirm: 'Branch will be writable for developers. Are you sure?'},method: :delete,class: "btn btn-warning btn-sm pull-right"
1. Protected branch settings (like "Developers Can Push") apply to all matching branches.
1. Two different wildcards can potentially match the same branch. For example, `*-stable` and `production-*` would both match a `production-stable` branch.
>**Note:**
If _any_ of these protected branches have "Developers Can Push" set to true, then `production-stable` has it set to true.
1. If you click on a protected branch's name, you will be presented with a list of all matching branches: