🕷️ Crawler Inspector

URL Lookup

Direct Parameter Lookup

Raw Queries and Responses

1. Shard Calculation

Query:
Response:
Calculated Shard: 10 (from laksa179)

2. Crawled Status Check

Query:
Response:

3. Robots.txt Check

Query:
Response:

4. Spam/Ban Check

Query:
Response:

5. Seen Status Check

ℹ️ Skipped - page is already crawled

đź“„
INDEXABLE
âś…
CRAWLED
6 days ago
🤖
ROBOTS ALLOWED

Page Info Filters

FilterStatusConditionDetails
HTTP statusPASSdownload_http_code = 200HTTP 200
Age cutoffPASSdownload_stamp > now() - 6 MONTH0.2 months ago
History dropPASSisNull(history_drop_reason)No drop reason
Spam/banPASSfh_dont_index != 1 AND ml_spam_score = 0ml_spam_score=0
CanonicalPASSmeta_canonical IS NULL OR = '' OR = src_unparsedNot set

Page Details

PropertyValue
URLhttps://www.joehxblog.com/revert-an-older-commit-without-discarding-any-later-commits/
Last Crawled2026-04-05 21:17:40 (6 days ago)
First Indexed2019-08-13 08:28:57 (6 years ago)
HTTP Status Code200
Meta TitleRevert An Older Commit Without Discarding Any Later Commits – JoeHx Blog
Meta DescriptionAfter making a few changes to this blog in an attempt to appease Amazon and failing, I wanted to undo those changes. ...
Meta Canonicalnull
Boilerpipe Text
This site utilizes Google Analytics, Google AdSense, as well as participates in affiliate partnerships with various companies including Amazon. Please view the privacy policy for more details. After making a few changes to this blog in an attempt to appease Amazon and failing , I wanted to undo those changes. Thankfully, since this blog is hosted on GitHub pages, it’s versioned controlled via Git. Meaning I should easily be able to find the changes and undo them fairly easily. In Git technical terms, I wanted to revert an older commit without discarding any later commits. Some people might say you’re undoing a commit, which I guess is technically correct, but there’s also a reset command that brings a repository back to that commit. First things first, I needed to find the individual commits I wanted to revert. This is where good commit messages would have come in handy - except I can be lazy when it comes to repos only I use. Eventually, I found two commits I wanted to revert: https://github.com/hendrixjoseph/hendrixjoseph.github.io/commit/7dc5ab44d430e6bd9e6ba02ee246fd764454186b https://github.com/hendrixjoseph/hendrixjoseph.github.io/commit/461914ecb7a057013c0a486b0f445c44bef4bdb9 The nice thing about having two commits I wanted to revert is that I could do one via the TortoiseGit GUI and one via the command line. Revert an Older Commit Via the TortioseGit GUI Make a backup of the directory - i.e. just make a copy in the same directory: Open the Git Log by right-clicking on the Git directory and selecting TortoiseGit → Show log : Scroll through and find the commit to revert (and double check that its hash is the same), right-click on it and select Revert change by this commit : At this point, most people would have successfully reverted their commit. I, however, got a “Failed Revert” dialog that said “error: could not revert”: It wasn’t all bad, though. For the most part, my revert did happen, it just wasn’t able to auto-commit after the revert due to a conflict with a later commit. I simply navigated through the Git directory in my file system and solved the conflict. Revert an Older Commit Via the Git Bash Command Line Now for the next commit undo, which I wanted to do via the command line. To reach the Git command line, I just right-clicked on the Git directory and selected Git Bash Here (look at the image on step two above to see where it’s located). The Git command to revert a specific command is straightforward: git revert <commit hash> The commit hash is that last bit of numbers and letters in the GitHub commit url. So the command I typed was: git revert 461914ecb7a057013c0a486b0f445c44bef4bdb9 The revert was successful, and it did autocommit successfully as well (there were no conflicts). Being Git, I did have to push manually. If I didn’t want to auto-commit, I would simply have to supply the --no-commit or -n flags: git revert --no-commit <commit hash> git revert -n <commit hash> Here are the links to the revert commits on GitHub if you’re wondering what they look like (spoiler: nothing special): https://github.com/hendrixjoseph/hendrixjoseph.github.io/commit/a9315e6d67ac3f67dac717f5e0ba6196fa434f13 https://github.com/hendrixjoseph/hendrixjoseph.github.io/commit/edf52d6d85a64d0011b6fd5d54f361d533b94d68 Sources How can I undo an older commit? Stackoverflow: Undo a particular commit in Git that’s been pushed to remote repos
Markdown
[![Joe's GitHub Profile Picture](https://avatars.githubusercontent.com/u/12754677?v=3)](https://www.joehxblog.com/) [JoeHx Blog](https://www.joehxblog.com/) Writing What I Want [Home](https://www.joehxblog.com/)\|[About](https://www.joehxblog.com/about/)\|[Work with Me](https://www.joehxblog.com/work-with-me/)\|[T-Shirts](https://www.joehxtees.com/) # [Revert An Older Commit Without Discarding Any Later Commits](https://www.joehxblog.com/revert-an-older-commit-without-discarding-any-later-commits/) [share](https://www.facebook.com/dialog/share?app_id=197946313591875&display=page&href=https://www.joehxblog.com/revert-an-older-commit-without-discarding-any-later-commits/) [tweet](https://twitter.com/intent/tweet?url=https://www.joehxblog.com/revert-an-older-commit-without-discarding-any-later-commits/&via=JoeHxBlog&text=Revert+An+Older+Commit+Without+Discarding+Any+Later+Commits) [share](https://www.linkedin.com/shareArticle?url=https://www.joehxblog.com/revert-an-older-commit-without-discarding-any-later-commits/&source=JoeHx%20Blog) [share](https://www.reddit.com/submit?url=https://www.joehxblog.com/revert-an-older-commit-without-discarding-any-later-commits/) *** February 26, 2019 [git](https://www.joehxblog.com/tags/#git)\|[github](https://www.joehxblog.com/tags/#github) *** *This site utilizes Google Analytics, Google AdSense, as well as participates in affiliate partnerships with various companies including Amazon. Please view the [privacy policy](https://www.joehxblog.com/privacy/) for more details.* After making a few changes to this blog in an attempt to [appease Amazon and failing](https://www.joehxblog.com/amazon-shut-down-my-associate-account/), I wanted to undo those changes. Thankfully, since this blog is hosted on GitHub pages, it’s versioned controlled via Git. Meaning I should easily be able to find the changes and undo them fairly easily. In Git technical terms, I wanted to revert an older commit without discarding any later commits. Some people might say you’re undoing a commit, which I guess is technically correct, but there’s also a reset command that brings a repository back to that commit. First things first, I needed to find the individual commits I wanted to revert. This is where good commit messages would have come in handy - except I can be lazy when it comes to repos only I use. Eventually, I found two commits I wanted to revert: - <https://github.com/hendrixjoseph/hendrixjoseph.github.io/commit/7dc5ab44d430e6bd9e6ba02ee246fd764454186b> - <https://github.com/hendrixjoseph/hendrixjoseph.github.io/commit/461914ecb7a057013c0a486b0f445c44bef4bdb9> The nice thing about having two commits I wanted to revert is that I could do one via the [TortoiseGit](https://tortoisegit.org/) GUI and one via the command line. ## Revert an Older Commit Via the TortioseGit GUI 1. Make a backup of the directory - i.e. just make a copy in the same directory: ![Make a backup of the directory.](https://www.joehxblog.com/images/git-revert/make-a-backup.png) 1. Open the Git Log by right-clicking on the Git directory and selecting **TortoiseGit → Show log**: ![Open the Git Log](https://www.joehxblog.com/images/git-revert/open-log.png) 1. Scroll through and find the commit to revert (and double check that its hash is the same), right-click on it and select **Revert change by this commit**: ![Revert change by this commit](https://www.joehxblog.com/images/git-revert/revert-changes.png) At this point, most people would have successfully reverted their commit. I, however, got a “Failed Revert” dialog that said “error: could not revert”: ![Error: Success](https://www.joehxblog.com/images/git-revert/error-success.png) It wasn’t all bad, though. For the most part, my revert *did* happen, it just wasn’t able to auto-commit after the revert due to a conflict with a later commit. I simply navigated through the Git directory in my file system and solved the conflict. ## Revert an Older Commit Via the Git Bash Command Line Now for the next commit undo, which I wanted to do via the command line. To reach the Git command line, I just right-clicked on the Git directory and selected **Git Bash Here** (look at the image on step two above to see where it’s located). The Git command to revert a specific command is straightforward: ``` git revert <commit hash> ``` The commit hash is that last bit of numbers and letters in the GitHub commit url. So the command I typed was: ``` git revert 461914ecb7a057013c0a486b0f445c44bef4bdb9 ``` The revert was successful, and it did autocommit successfully as well (there were no conflicts). Being Git, I did have to push manually. If I didn’t want to auto-commit, I would simply have to supply the `--no-commit` or `-n` flags: ``` git revert --no-commit <commit hash> git revert -n <commit hash> ``` Here are the links to the revert commits on GitHub if you’re wondering what they look like (spoiler: nothing special): - <https://github.com/hendrixjoseph/hendrixjoseph.github.io/commit/a9315e6d67ac3f67dac717f5e0ba6196fa434f13> - <https://github.com/hendrixjoseph/hendrixjoseph.github.io/commit/edf52d6d85a64d0011b6fd5d54f361d533b94d68> ## Sources - [How can I undo an older commit?](https://www.git-tower.com/learn/git/faq/undo-revert-old-commit) - [Stackoverflow: Undo a particular commit in Git that’s been pushed to remote repos](https://stackoverflow.com/questions/2318777/undo-a-particular-commit-in-git-thats-been-pushed-to-remote-repos) Previous Post: [Amazon Shut Down My Associate Account](https://www.joehxblog.com/amazon-shut-down-my-associate-account/) Next Post: [Example Schedule C for Cryptocurrency Mining](https://www.joehxblog.com/example-schedule-c-for-cryptocurrency-mining/) Next git Post: [Questions on Branches and Rebases in Git](https://www.joehxblog.com/questions-on-branches-and-rebases-in-git/) Next github Post: [3 Ways to Create New Directories in the GitHub Web Interface](https://www.joehxblog.com/3-ways-to-create-new-directories-in-the-github-web-interface/) ### Leave a Reply ![indeterminate progress bar](https://www.joehxblog.com/images/ajax-loader.gif) Thank you. Your comment will be visible after approval. Your comment has been submitted, but their seems to be an error. Check your browser console for more details. I am Joe. I'm one of many Joes, but I am uniquely me. I'm the messiest organized guy you'll ever meet. My glasses are always bent and my hair always a mess. I've never had a role model and as such am my own person. Scientist, programmer, Christian, libertarian, and life long learner. Latest post from March 30, 2026: [A Poké Ball for My Son's Birthday](https://www.joehxblog.com/a-pokeball-for-my-sons-birthday/) [![Featured image for A Poké Ball for My Son's Birthday](https://www.joehxblog.com/images/birthday-cake/pokeball-cake.jpg)](https://www.joehxblog.com/a-pokeball-for-my-sons-birthday/) [![GitHub followers](https://img.shields.io/github/followers/hendrixjoseph?label=GitHub&style=for-the-badge)](https://github.com/hendrixjoseph "GitHub Profile") [![Reddit User Karma](https://img.shields.io/reddit/user-karma/combined/joehx?style=for-the-badge)](https://www.reddit.com/user/joehx/ "Reddit Profile") [![Twitter Follow](https://img.shields.io/twitter/follow/JoeHxBlog?style=for-the-badge)](https://twitter.com/intent/user?screen_name=JoeHxBlog "Follow me on Twitter") [RSS feed](https://www.joehxblog.com/feed.xml "Subscribe to my RSS feed") [Like](https://www.facebook.com/JoeHxBlog "Like me on Facebook") [![AbeBooks.com. Thousands of booksellers - millions of books.](https://www.joehxblog.com/images/abebooks/thousands-of-booksellers-millions-of-books.png)](https://affiliates.abebooks.com/c/2462910/76887/2029) © 2026 Joseph Hendrix Joe around the web: [Facebook](https://www.facebook.com/JoeHxBlog) [Twitter](https://www.twitter.com/JoeHxBlog) [GitHub](https://github.com/hendrixjoseph) [LinkedIn](https://www.linkedin.com/in/joehx) [Wikipedia](https://en.wikipedia.org/wiki/User:Hendrixjoseph) [Wright State](http://people.wright.edu/hendrix.11) [Bloglovin](https://www.bloglovin.com/blog/18787949/?claim=wdwd7egbcxx) [Mix](https://mix.com/joehx) Website Sections: [Privacy Policy](https://www.joehxblog.com/privacy/) [Referral Links](https://www.joehxblog.com/referral/) [Web Portfolio](https://www.joehxblog.com/web-portfolio/) [Featured](https://www.joehxblog.com/featured/) [Post Statistics](https://www.joehxblog.com/statistics/) [Tags](https://www.joehxblog.com/tags/) [Sitemap](https://www.joehxblog.com/sitemap/) Tools: [Amazon Keyword Search Generator](https://www.joehxblog.com/tools/amazon-keyword-search-generator/)[Calorie to Exercise Calculator](https://www.joehxblog.com/tools/calorie-to-exercise-calculator/)[Compound Interest Calculator](https://www.joehxblog.com/tools/compound-interest-calculator/)[Ohio Sample Ballot Links by County](https://www.joehxblog.com/tools/ohio-sample-ballot-links-by-county/)[Temperature Conversion](https://www.joehxblog.com/tools/temperature-conversion/)[URL Decoder & Encoder](https://www.joehxblog.com/tools/url-decoder-encoder/) [![W3C Validation](https://img.shields.io/w3c-validation/default?style=for-the-badge&targetUrl=https%3A%2F%2Fwww.joehxblog.com%2Frevert-an-older-commit-without-discarding-any-later-commits%2F)](https://validator.w3.org/nu/?doc=https%3A%2F%2Fwww.joehxblog.com%2Frevert-an-older-commit-without-discarding-any-later-commits%2F)
Readable Markdown
*** *** *This site utilizes Google Analytics, Google AdSense, as well as participates in affiliate partnerships with various companies including Amazon. Please view the [privacy policy](https://www.joehxblog.com/privacy/) for more details.* After making a few changes to this blog in an attempt to [appease Amazon and failing](https://www.joehxblog.com/amazon-shut-down-my-associate-account/), I wanted to undo those changes. Thankfully, since this blog is hosted on GitHub pages, it’s versioned controlled via Git. Meaning I should easily be able to find the changes and undo them fairly easily. In Git technical terms, I wanted to revert an older commit without discarding any later commits. Some people might say you’re undoing a commit, which I guess is technically correct, but there’s also a reset command that brings a repository back to that commit. First things first, I needed to find the individual commits I wanted to revert. This is where good commit messages would have come in handy - except I can be lazy when it comes to repos only I use. Eventually, I found two commits I wanted to revert: - <https://github.com/hendrixjoseph/hendrixjoseph.github.io/commit/7dc5ab44d430e6bd9e6ba02ee246fd764454186b> - <https://github.com/hendrixjoseph/hendrixjoseph.github.io/commit/461914ecb7a057013c0a486b0f445c44bef4bdb9> The nice thing about having two commits I wanted to revert is that I could do one via the [TortoiseGit](https://tortoisegit.org/) GUI and one via the command line. ## Revert an Older Commit Via the TortioseGit GUI 1. Make a backup of the directory - i.e. just make a copy in the same directory: ![Make a backup of the directory.](https://www.joehxblog.com/images/git-revert/make-a-backup.png) 1. Open the Git Log by right-clicking on the Git directory and selecting **TortoiseGit → Show log**: ![Open the Git Log](https://www.joehxblog.com/images/git-revert/open-log.png) 1. Scroll through and find the commit to revert (and double check that its hash is the same), right-click on it and select **Revert change by this commit**: ![Revert change by this commit](https://www.joehxblog.com/images/git-revert/revert-changes.png) At this point, most people would have successfully reverted their commit. I, however, got a “Failed Revert” dialog that said “error: could not revert”: ![Error: Success](https://www.joehxblog.com/images/git-revert/error-success.png) It wasn’t all bad, though. For the most part, my revert *did* happen, it just wasn’t able to auto-commit after the revert due to a conflict with a later commit. I simply navigated through the Git directory in my file system and solved the conflict. ## Revert an Older Commit Via the Git Bash Command Line Now for the next commit undo, which I wanted to do via the command line. To reach the Git command line, I just right-clicked on the Git directory and selected **Git Bash Here** (look at the image on step two above to see where it’s located). The Git command to revert a specific command is straightforward: ``` git revert <commit hash> ``` The commit hash is that last bit of numbers and letters in the GitHub commit url. So the command I typed was: ``` git revert 461914ecb7a057013c0a486b0f445c44bef4bdb9 ``` The revert was successful, and it did autocommit successfully as well (there were no conflicts). Being Git, I did have to push manually. If I didn’t want to auto-commit, I would simply have to supply the `--no-commit` or `-n` flags: ``` git revert --no-commit <commit hash> git revert -n <commit hash> ``` Here are the links to the revert commits on GitHub if you’re wondering what they look like (spoiler: nothing special): - <https://github.com/hendrixjoseph/hendrixjoseph.github.io/commit/a9315e6d67ac3f67dac717f5e0ba6196fa434f13> - <https://github.com/hendrixjoseph/hendrixjoseph.github.io/commit/edf52d6d85a64d0011b6fd5d54f361d533b94d68> ## Sources - [How can I undo an older commit?](https://www.git-tower.com/learn/git/faq/undo-revert-old-commit) - [Stackoverflow: Undo a particular commit in Git that’s been pushed to remote repos](https://stackoverflow.com/questions/2318777/undo-a-particular-commit-in-git-thats-been-pushed-to-remote-repos)
Shard10 (laksa)
Root Hash2987447414847851410
Unparsed URLcom,joehxblog!www,/revert-an-older-commit-without-discarding-any-later-commits/ s443