âšī¸ Skipped - page is already crawled
| Filter | Status | Condition | Details |
|---|---|---|---|
| HTTP status | PASS | download_http_code = 200 | HTTP 200 |
| Age cutoff | PASS | download_stamp > now() - 6 MONTH | 0.6 months ago (distributed domain, exempt) |
| History drop | PASS | isNull(history_drop_reason) | No drop reason |
| Spam/ban | PASS | fh_dont_index != 1 AND ml_spam_score = 0 | ml_spam_score=0 |
| Canonical | PASS | meta_canonical IS NULL OR = '' OR = src_unparsed | Not set |
| Property | Value |
|---|---|
| URL | https://docs.github.com/en/desktop/managing-commits/reverting-a-commit-in-github-desktop |
| Last Crawled | 2026-03-18 23:20:01 (19 days ago) |
| First Indexed | 2023-10-06 12:42:38 (2 years ago) |
| HTTP Status Code | 200 |
| Meta Title | Reverting a commit in GitHub Desktop - GitHub Docs |
| Meta Description | You can use GitHub Desktop to revert a specific commit to remove its changes from your branch. |
| Meta Canonical | null |
| Boilerpipe Text | You can use GitHub 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
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.
In the left sidebar, click
History
.
Right-click the commit you want to revert and click
Revert Changes in Commit
.
Further reading
Options for managing commits in GitHub Desktop |
| Markdown | [Skip to main content](https://docs.github.com/en/desktop/managing-commits/reverting-a-commit-in-github-desktop#main-content)
[GitHub Docs](https://docs.github.com/en)
Version: Free, Pro, & Team
Search or ask Copilot
Search or ask
Copilot
Select language: current language is English
[Sign up](https://github.com/signup?ref_cta=Sign+up&ref_loc=docs+header&ref_page=docs)
Search or ask Copilot
Search or ask
Copilot
Open menu
Open Sidebar
- [GitHub Desktop](https://docs.github.com/en/desktop "GitHub Desktop")/
- [Managing commits](https://docs.github.com/en/desktop/managing-commits "Managing commits")/
- [Reverting a commit](https://docs.github.com/en/desktop/managing-commits/reverting-a-commit-in-github-desktop "Reverting a commit")
[Home](https://docs.github.com/en)
## [GitHub Desktop](https://docs.github.com/en/desktop)
- Overview
- [About](https://docs.github.com/en/desktop/overview/about-github-desktop)
- [Get started](https://docs.github.com/en/desktop/overview/getting-started-with-github-desktop)
- [Creating your first repository](https://docs.github.com/en/desktop/overview/creating-your-first-repository-using-github-desktop)
- [Supported OS](https://docs.github.com/en/desktop/overview/supported-operating-systems-for-github-desktop)
- [Keyboard shortcuts](https://docs.github.com/en/desktop/overview/github-desktop-keyboard-shortcuts)
- [Launching from the command line](https://docs.github.com/en/desktop/overview/launching-github-desktop-from-the-command-line)
- Install & authenticate
- [Setup](https://docs.github.com/en/desktop/installing-and-authenticating-to-github-desktop/setting-up-github-desktop)
- [Installation](https://docs.github.com/en/desktop/installing-and-authenticating-to-github-desktop/installing-github-desktop)
- [Authentication](https://docs.github.com/en/desktop/installing-and-authenticating-to-github-desktop/authenticating-to-github-in-github-desktop)
- [About connections](https://docs.github.com/en/desktop/installing-and-authenticating-to-github-desktop/about-connections-to-github-in-github-desktop)
- [Updating](https://docs.github.com/en/desktop/installing-and-authenticating-to-github-desktop/updating-github-desktop)
- [Uninstalling](https://docs.github.com/en/desktop/installing-and-authenticating-to-github-desktop/uninstalling-github-desktop)
- Configure & customize
- [Configuring Git](https://docs.github.com/en/desktop/configuring-and-customizing-github-desktop/configuring-git-for-github-desktop)
- [Configure basic settings](https://docs.github.com/en/desktop/configuring-and-customizing-github-desktop/configuring-basic-settings-in-github-desktop)
- [Configure default editor](https://docs.github.com/en/desktop/configuring-and-customizing-github-desktop/configuring-a-default-editor-in-github-desktop)
- [Set a theme](https://docs.github.com/en/desktop/configuring-and-customizing-github-desktop/setting-a-theme-for-github-desktop)
- [About Git LFS](https://docs.github.com/en/desktop/configuring-and-customizing-github-desktop/about-git-large-file-storage-and-github-desktop)
- Add & clone repositories
- [Add a repository](https://docs.github.com/en/desktop/adding-and-cloning-repositories/adding-a-repository-from-your-local-computer-to-github-desktop)
- [Add an existing project](https://docs.github.com/en/desktop/adding-and-cloning-repositories/adding-an-existing-project-to-github-using-github-desktop)
- [Clone & fork from Desktop](https://docs.github.com/en/desktop/adding-and-cloning-repositories/cloning-and-forking-repositories-from-github-desktop)
- [Clone a GitHub repo](https://docs.github.com/en/desktop/adding-and-cloning-repositories/cloning-a-repository-from-github-to-github-desktop)
- Make changes in a branch
- [Managing branches](https://docs.github.com/en/desktop/making-changes-in-a-branch/managing-branches-in-github-desktop)
- [Commit & review changes](https://docs.github.com/en/desktop/making-changes-in-a-branch/committing-and-reviewing-changes-to-your-project-in-github-desktop)
- [Working with Git hooks](https://docs.github.com/en/desktop/making-changes-in-a-branch/working-with-git-hooks-in-github-desktop)
- [Stashing changes](https://docs.github.com/en/desktop/making-changes-in-a-branch/stashing-changes-in-github-desktop)
- [View branch history](https://docs.github.com/en/desktop/making-changes-in-a-branch/viewing-the-branch-history-in-github-desktop)
- [Pushing changes](https://docs.github.com/en/desktop/making-changes-in-a-branch/pushing-changes-to-github-from-github-desktop)
- Managing commits
- [Options for managing commits](https://docs.github.com/en/desktop/managing-commits/options-for-managing-commits-in-github-desktop)
- [Undoing a commit](https://docs.github.com/en/desktop/managing-commits/undoing-a-commit-in-github-desktop)
- [Resetting to a commit](https://docs.github.com/en/desktop/managing-commits/resetting-to-a-commit-in-github-desktop)
- [Amending a commit](https://docs.github.com/en/desktop/managing-commits/amending-a-commit-in-github-desktop)
- [Reverting a commit](https://docs.github.com/en/desktop/managing-commits/reverting-a-commit-in-github-desktop)
- [Cherry-picking a commit](https://docs.github.com/en/desktop/managing-commits/cherry-picking-a-commit-in-github-desktop)
- [Reordering commits](https://docs.github.com/en/desktop/managing-commits/reordering-commits-in-github-desktop)
- [Squashing commits](https://docs.github.com/en/desktop/managing-commits/squashing-commits-in-github-desktop)
- [Managing tags](https://docs.github.com/en/desktop/managing-commits/managing-tags-in-github-desktop)
- [Checking out a commit](https://docs.github.com/en/desktop/managing-commits/checking-out-a-commit-in-github-desktop)
- Work with your remote repo
- [Create an issue or PR](https://docs.github.com/en/desktop/working-with-your-remote-repository-on-github-or-github-enterprise/creating-an-issue-or-pull-request-from-github-desktop)
- [Syncing your branch](https://docs.github.com/en/desktop/working-with-your-remote-repository-on-github-or-github-enterprise/syncing-your-branch-in-github-desktop)
- [Viewing a pull request](https://docs.github.com/en/desktop/working-with-your-remote-repository-on-github-or-github-enterprise/viewing-a-pull-request-in-github-desktop)
- [Viewing and re-running checks](https://docs.github.com/en/desktop/working-with-your-remote-repository-on-github-or-github-enterprise/viewing-and-re-running-checks-in-github-desktop)
- [Configuring notifications](https://docs.github.com/en/desktop/working-with-your-remote-repository-on-github-or-github-enterprise/configuring-notifications-in-github-desktop)
- [Change the remote URL for a repository](https://docs.github.com/en/desktop/working-with-your-remote-repository-on-github-or-github-enterprise/changing-the-remote-url-for-a-repository-in-github-desktop)
- [GitHub Desktop](https://docs.github.com/en/desktop "GitHub Desktop")/
- [Managing commits](https://docs.github.com/en/desktop/managing-commits "Managing commits")/
- [Reverting a commit](https://docs.github.com/en/desktop/managing-commits/reverting-a-commit-in-github-desktop "Reverting a commit")
# Reverting a commit in GitHub Desktop
You can use GitHub Desktop to revert a specific commit to remove its changes from your branch.
Copy as Markdown
When you revert to a previous commit, the revert is also a commit. The original commit also remains in the repository's history.
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.
1. In the left sidebar, click **History**.

2. Right-click the commit you want to revert and click **Revert Changes in Commit**.

## [Further reading](https://docs.github.com/en/desktop/managing-commits/reverting-a-commit-in-github-desktop#further-reading)
- [Options for managing commits in GitHub Desktop](https://docs.github.com/en/desktop/managing-commits/options-for-managing-commits-in-github-desktop)
## Help and support
### Help us make these docs great\!
All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.
[Make a contribution](https://github.com/github/docs/blob/main/content/desktop/managing-commits/reverting-a-commit-in-github-desktop.md)
[Learn how to contribute](https://docs.github.com/contributing)
### Still need help?
[Ask the GitHub community](https://github.com/orgs/community/discussions)
[Contact support](https://support.github.com/)
## Legal
- Š 2026 GitHub, Inc.
- [Terms](https://docs.github.com/en/site-policy/github-terms/github-terms-of-service)
- [Privacy](https://docs.github.com/en/site-policy/privacy-policies/github-privacy-statement)
- [Status](https://www.githubstatus.com/)
- [Pricing](https://github.com/pricing)
- [Expert services](https://services.github.com/)
- [Blog](https://github.blog/) |
| Readable Markdown | You can use GitHub 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
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.
1. In the left sidebar, click **History**.

2. Right-click the commit you want to revert and click **Revert Changes in Commit**.

## [Further reading](https://docs.github.com/en/desktop/managing-commits/reverting-a-commit-in-github-desktop#further-reading)
- [Options for managing commits in GitHub Desktop](https://docs.github.com/en/desktop/managing-commits/options-for-managing-commits-in-github-desktop) |
| Shard | 174 (laksa) |
| Root Hash | 6325672905007345774 |
| Unparsed URL | com,github!docs,/en/desktop/managing-commits/reverting-a-commit-in-github-desktop s443 |