1.0 KiB
1.0 KiB
title, shortTitle, intro, redirect_from, versions
| title | shortTitle | intro | redirect_from | versions | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Reverting a commit in GitHub Desktop | Reverting a commit | You can use {% data variables.product.prodname_desktop %} to revert a specific commit to remove its changes from your branch. |
|
|
When you revert to a previous commit, the revert is also a commit. The original commit also remains in the repository's history.
{% tip %}
Tip: When you revert multiple commits, it's best to revert in order from newest to oldest. If you revert commits in a different order, you may see merge conflicts.
{% endtip %}
{% data reusables.desktop.history-tab %} {% data reusables.desktop.revert-commit %}