2.6 KiB
2.6 KiB
| stage | group | info | description | title |
|---|---|---|---|---|
| Create | Code Review | To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments | Use merge request reviews to discuss and improve code before it is merged into your project. | Manage merge requests |
GitLab provides tools for managing merge requests for your project and group.
Delete a merge request
In most cases you should close, rather than delete, merge requests. You cannot undo the deletion of a merge request.
Prerequisites:
- You must have the Owner role for the project.
To delete a merge request:
- On the left sidebar, select Search or go to and find your project.
- Select Code > Merge requests and find the merge request you want to delete.
- Select Edit.
- Scroll to the bottom of the page, and select Delete merge request.
{{< alert type="note" >}}
Deleting a merge request does not completely erase all data. Some information persists to maintain project history and to support recovery processes. For more information, see Handle sensitive information.
{{< /alert >}}
Bulk edit merge requests in a project
These attributes are editable when bulk editing merge requests:
- Status (open/closed)
- Assignee
- Milestone
- Labels
- Subscriptions
Prerequisites:
- You must have at least the Developer role.
To do this:
- In a project, go to Code > Merge requests.
- Select Bulk edit. A sidebar on the right-hand side of your screen appears with editable fields.
- Select the checkboxes next to each merge request you want to edit.
- Select the appropriate fields and their values from the sidebar.
- Select Update selected.
Bulk edit merge requests in a group
{{< details >}}
- Tier: Premium, Ultimate
- Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated
{{< /details >}}
These attributes are editable when you bulk edit merge requests for a group:
- Milestone
- Labels
Prerequisites:
- You must have at least the Developer role for the project.
To update multiple group merge requests at the same time:
- In a group, go to Code > Merge requests.
- Select Bulk edit. A sidebar on the right-hand side of your screen appears with editable fields.
- Select the checkboxes next to each merge request you want to edit.
- Select the appropriate fields and their values from the sidebar.
- Select Update selected.