Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
6effa6f9
Commit
6effa6f9
authored
Mar 27, 2018
by
Phil Hughes
Committed by
Achilleas Pipinellis
Mar 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added docs for removing source branch
parent
b897357b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
doc/user/project/merge_requests/img/remove_source_branch_status.png
...roject/merge_requests/img/remove_source_branch_status.png
+0
-0
doc/user/project/merge_requests/index.md
doc/user/project/merge_requests/index.md
+16
-0
No files found.
doc/user/project/merge_requests/img/remove_source_branch_status.png
0 → 100644
View file @
6effa6f9
31.9 KB
doc/user/project/merge_requests/index.md
View file @
6effa6f9
...
...
@@ -77,6 +77,22 @@ You can [search and filter the results](../../search/index.md#issues-and-merge-r
![
Group Issues list view
](
img/group_merge_requests_list_view.png
)
## Removing the source branch
When creating a merge request, select the "Remove source branch when merge
request accepted" option and the source branch will be removed when the merge
request is merged.
This option is also visible in an existing merge request next to the merge
request button and can be selected/deselected before merging. It's only visible
to users with
[
Master permissions
](
../../permissions.md
)
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.
![
Remove source branch status
](
img/remove_source_branch_status.png
)
## Authorization for merge requests
There are two main ways to have a merge request flow with GitLab:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment