Add info about WIP merge requests to docs.
This commit is contained in:
parent
1f78aeba40
commit
bdfd163aa1
6 changed files with 17 additions and 3 deletions
|
@ -49,7 +49,7 @@
|
|||
|
||||
.automerge_widget.cannot_be_merged.hide
|
||||
%h4
|
||||
This pull request contains merge conflicts that must be resolved.
|
||||
This merge request contains merge conflicts that must be resolved.
|
||||
You can try it manually on the
|
||||
%strong
|
||||
= link_to "command line", "#modal_merge_info", class: "how_to_merge_link vlink", title: "How To Merge", "data-toggle" => "modal"
|
||||
|
@ -63,14 +63,14 @@
|
|||
|
||||
.automerge_widget.work_in_progress.hide
|
||||
%h4
|
||||
This request cannot be merged because it is marked as <strong>Work In Progress</strong>.
|
||||
This merge request cannot be accepted because it is marked as Work In Progress.
|
||||
|
||||
%p
|
||||
%button.btn.disabled{:type => 'button'}
|
||||
%i.fa.fa-warning
|
||||
Accept Merge Request
|
||||
|
||||
When the merge request is ready, remove the "WIP" prefix from the title to allow merging.
|
||||
When the merge request is ready, remove the "WIP" prefix from the title to allow it to be accepted.
|
||||
|
||||
.automerge_widget.unchecked
|
||||
%p
|
||||
|
|
|
@ -16,3 +16,4 @@
|
|||
- [Change your time zone](timezone.md)
|
||||
- [Keyboard shortcuts](shortcuts.md)
|
||||
- [Web Editor](web_editor.md)
|
||||
- ["Work In Progress" Merge Requests](wip_merge_requests.md)
|
||||
|
|
13
doc/workflow/wip_merge_requests.md
Normal file
13
doc/workflow/wip_merge_requests.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
# "Work In Progress" Merge Requests
|
||||
|
||||
To prevent merge requests from accidentally being accepted before they're completely ready, GitLab blocks the "Accept" button for merge requests that have been marked a **Work In Progress**.
|
||||
|
||||
![Blocked Accept Button](wip_merge_requests/blocked_accept_button.png)
|
||||
|
||||
To mark a merge request a Work In Progress, simply start its title with `[WIP]` or `WIP:`.
|
||||
|
||||
![Mark as WIP](wip_merge_requests/mark_as_wip.png)
|
||||
|
||||
To allow a Work In Progress merge request to be accepted again when it's ready, simply remove the `WIP` prefix.
|
||||
|
||||
![Unark as WIP](wip_merge_requests/unmark_as_wip.png)
|
BIN
doc/workflow/wip_merge_requests/blocked_accept_button.png
Normal file
BIN
doc/workflow/wip_merge_requests/blocked_accept_button.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 64 KiB |
BIN
doc/workflow/wip_merge_requests/mark_as_wip.png
Normal file
BIN
doc/workflow/wip_merge_requests/mark_as_wip.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 41 KiB |
BIN
doc/workflow/wip_merge_requests/unmark_as_wip.png
Normal file
BIN
doc/workflow/wip_merge_requests/unmark_as_wip.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
Loading…
Reference in a new issue