Method: Gitlab::Client::Branches#delete_merged_branches
- Defined in:
- lib/gitlab/client/branches.rb
permalink #delete_merged_branches(project) ⇒ nil Also known as: repo_delete_merged_branches
Delete all branches that are merged into the project default branch. Protected branches will not be deleted as part of this operation.
105 106 107 |
# File 'lib/gitlab/client/branches.rb', line 105 def delete_merged_branches(project) delete("/projects/#{url_encode project}/repository/merged_branches") end |