diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user/project/merge_requests/img/remove_source_branch.png | bin | 0 -> 53683 bytes | |||
-rw-r--r-- | doc/user/project/merge_requests/img/remove_source_branch_status.png | bin | 0 -> 117712 bytes | |||
-rw-r--r-- | doc/user/project/merge_requests/img/widget_remove_source_branch.png | bin | 0 -> 31435 bytes | |||
-rw-r--r-- | doc/user/project/merge_requests/index.md | 17 |
4 files changed, 17 insertions, 0 deletions
diff --git a/doc/user/project/merge_requests/img/remove_source_branch.png b/doc/user/project/merge_requests/img/remove_source_branch.png Binary files differnew file mode 100644 index 00000000000..4c7d8f096f6 --- /dev/null +++ b/doc/user/project/merge_requests/img/remove_source_branch.png diff --git a/doc/user/project/merge_requests/img/remove_source_branch_status.png b/doc/user/project/merge_requests/img/remove_source_branch_status.png Binary files differnew file mode 100644 index 00000000000..954da80063a --- /dev/null +++ b/doc/user/project/merge_requests/img/remove_source_branch_status.png diff --git a/doc/user/project/merge_requests/img/widget_remove_source_branch.png b/doc/user/project/merge_requests/img/widget_remove_source_branch.png Binary files differnew file mode 100644 index 00000000000..bd61bf09554 --- /dev/null +++ b/doc/user/project/merge_requests/img/widget_remove_source_branch.png diff --git a/doc/user/project/merge_requests/index.md b/doc/user/project/merge_requests/index.md index 10d67729734..178653fe273 100644 --- a/doc/user/project/merge_requests/index.md +++ b/doc/user/project/merge_requests/index.md @@ -77,6 +77,23 @@ You can [search and filter the results](../../search/index.md#issues-and-merge-r  +## Removing source branch + +When creating a merge request there is an option to remove the source branch. If this option is selected, the source branch will be +removed when the merge request is merged. + + + +This option is also visible in the merge request widget and can be selected before merging. This option will be visible to users +with master permissions in the source project. + + + +If the user viewing the merge request does not have the correct permissions to remove the source branch +and the source branch is set for removal the merge request widget will show the **Removes source branch** text. + + + ## Authorization for merge requests There are two main ways to have a merge request flow with GitLab: |