After the Merge Request has been reverted, the `Revert` button will not be available anymore.
It's important to mention that this new button will be only available for Merge Requests created since the **8.5** version. However you can still revert a Merge by reverting the merge commit from the list of Commits page.
## Reverting a Commit
You can revert a Commit from the Commit detail page:
In the same way like reverting a Merge Request you can opt to revert the changes directly into the target branch or create a new Merge Request to revert the changes:
After the Commit has been reverted, the `Revert` button will not be available anymore.
Please note that when reverting merge commits, the mainline will allways be the first parent, if you want to use a different mainline then you need to do that from the command line, here is a quick sample:
```
# Revert a merge commit using the second parent as the mainline