No, that feature isn't directly available on the GitHub web interface (as opposed to the "Revert" button recently added for GitHub for Mac/Windows)

Actually, it is for pull requests only, since June 24th, 2014:

Introducing the Revert Button

you can easily revert a pull request on GitHub by clicking Revert:

You'll be prompted to create a new pull request with the reverted changes:


git revert is a bit more complex to manage through the web as it can accept a range of commits.
It shouldn't be an issue in terms of collaboration though: a revert adds a new commit, it doesn't change the history of existing commits.

Answer from VonC on Stack Overflow
🌐
GitHub
github.com › orgs › community › discussions › 60023
Revert commit on Website · community · Discussion #60023
Please reload this page. Something went wrong. There was an error while loading. Please reload this page. ... Not as of this moment. Github doesn't have a web API call to do it, so it's not possible.
🌐
Reddit
reddit.com › r/github › revert a commit using the online version of github?
r/github on Reddit: Revert a commit using the online version of Github?
March 14, 2019 -

I've been trying to find instructions for reverting a commit in the online version of Github - not the desktop version. Lots of info out there about how to do this in the desktop version, but is this possible using the browser version?

I want to delete the last 3 commits.

🌐
GitHub
docs.github.com › en › desktop › managing-commits › undoing-a-commit-in-github-desktop
Undoing a commit in GitHub Desktop - GitHub Docs
You can undo multiple sequential commits up to a commit that has already been pushed to the remote repository by selecting a previous commit and using the "reset to commit" option.
Find elsewhere
🌐
SheCanCode
shecancode.io › home › news & articles › how to undo a commit in github
How to undo a commit in GitHub - SheCanCode
May 27, 2025 - Replace N with the number of commits to review. ... Reverting is a safer way to undo changes because it creates a new commit to “cancel out” a previous one without deleting it: git revert <commit-hash>
🌐
Go2Share
go2share.net › github commit management › revert commit on github website: undo changes easily
Revert Commit on GitHub Website: Undo Changes Easily
September 3, 2025 - You can roll back all changes made in the most recent commit and revert to the previous state of the repository by navigating to the "History" tab, right-clicking on the previous commit, and selecting "Revert This Commit".
🌐
Quora
quora.com › How-do-I-revert-a-GitHub-commit-on-the-website-Is-there-a-link-somewhere-to-revert-a-commit-Or-do-I-need-to-do-this-somehow-from-the-command-line-I-never-downloaded-the-fork-to-my-local-machine-though
How to revert a GitHub commit on the website? Is there a link somewhere to revert a commit? Or do I need to do this somehow from the command line - Quora
Answer (1 of 2): I don't believe there is a way to revert a commit on github.com. (I could be wrong...) Here's how you do it from a command line. git clone my_clone cd my_clone git log (gives you the commit id you want) git revert resolve any errors that may come up and commi...
🌐
SheCanCode
shecancode.io › blog › how-to-undo-a-commit-in-github
How To Undo a Commit in GitHub — SheCanCode
December 15, 2021 - To undo a commit that has not been pushed to a remote repository, use the reset command. Note that the reset command should be used if the commits only exist locally. If not, use the revert command, that way the history of undoing your commit ...
🌐
Storylane
storylane.io › tutorials › how-to-revert-to-a-previous-commit-in-github
How to Revert to a Previous Commit in Github: 1-Min Guide
June 5, 2026 - Using the git revert command with a commit's unique hash is the recommended non-destructive way to roll back code in any repository. Go to your repository on GitHub and click on the Commits link.
🌐
The Tech Edvocate
thetechedvocate.org › home › how to revert commit in github
Thetechedvocate
20 hours ago - In the GitHub web app, navigate to the repository, click on the “Commits” tab, and you’ll see a list of all past commits along with their messages and unique SHA identifiers.
🌐
Scribe
scribehow.com › viewer › How_to_Revert_Changes_in_GitHub__BBZocwTtSYuTjICmGh8vNA
How to Revert Changes in GitHub | Scribe
GitHub desktop comes in handy when you want a visual representation of your commits. But what if you want to revert changes in GitHub? It is actually a very straightforward process. Follow these steps.
🌐
DevToolbox
devtoolbox.dedyn.io › home › blog › revert a commit on github
Revert a Commit on GitHub: Web UI + Git CLI (2026 Guide) | DevToolbox Blog
February 16, 2026 - Need to revert a bad commit on GitHub quickly? Use the GitHub Revert button for commits and PRs, or git revert in CLI with exact commands, conflict handling, and safe rollback checks.
🌐
GitHub
gist.github.com › gunjanpatel › 18f9e4d1eb609597c50c2118e416e6a6
Git HowTo: revert a commit already pushed to a remote repository · GitHub
Reverting a commit means to create a new commit that undoes all changes that were made in the bad commit. Just like above, the bad commit remains there, but it no longer affects the the current master and any future commits on top of it.
🌐
TMS Outsource
tms-outsource.com › home › how to revert to a previous commit in github
How to Revert to a Previous Commit in GitHub - TMS Outsource
December 14, 2025 - To revert using GitHub Desktop, click History in the left sidebar, right-click the target commit, and select “Revert changes in commit” which creates a new commit that undoes the selected changes without command line interaction.
🌐
LightNode
go.lightnode.com › tech › rollback-commit-github
How to Rollback Commits in GitHub: A Complete Developer's Guide
July 24, 2025 - Git Revert creates new commits that undo previous changes. This method is safe for shared repositories because it doesn't rewrite history – it just adds new "undo" commits on top.