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.
When you delete a merge request, GitLab also deletes its merge request pipelines, including their jobs and artifacts. For a merge request from a fork, GitLab deletes pipelines in the fork project, even if you are not a member of the fork. GitLab does not delete deployments or environments in the fork, but they no longer link to a job or pipeline. GitLab does not delete the source branch or its branch pipelines.
Prerequisites:
- You must have the Owner role for the project.
To delete a merge request:
- In the top bar, select Search or go to and find your project.
- In the left sidebar, 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.
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.
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 the Developer, Maintainer, or Owner 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
- Tier: Premium, Ultimate
- Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated
These attributes are editable when you bulk edit merge requests for a group:
- Milestone
- Labels
Prerequisites:
- You must have the Developer, Maintainer, or Owner 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.