Revert commit on Website #60023
-
Select Topic AreaQuestion BodyHello there! |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 17 replies
-
|
Hey. If you don't want to revert a commit using the console, the easiest way is to go to Github Desktop (which is UI-based rather than terminal), set current repo to the specific repo, click on history, and right click on a commit. You will now see a button that says "Revert changes in commit." |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the tips.
|
Beta Was this translation helpful? Give feedback.
-
|
GitHub’s website lacks a revert button, so you’ll need to manually restore files, had to do the same on Pearl Lemon Web’s repo once. |
Beta Was this translation helpful? Give feedback.
-
|
This is incredibly stupid. GitHub, why must us simple folk constantly have to teach you what is good UI/UX? |
Beta Was this translation helpful? Give feedback.
-
|
My use case is that I have a huge repository that takes hours to download and I just want to revert a commit in it. I can't use the terminal for that because then I would have to run git clone which takes hours, so I tried to install GitHub Desktop, but that didn't help because I would have had to clone the repository there also. It seems like the quickest in my case is to just manually copy-paste the old code into a new commit on the website. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
October 2025 and we still can't revert commits from the WebUI? Cmon github |
Beta Was this translation helpful? Give feedback.





Not as of this moment. Github doesn't have a web API call to do it, so it's not possible. See their API documentation to check what's possible.