ā¹ļø 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 | 2.4 months ago |
| 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://medium.com/swlh/using-git-how-to-go-back-to-a-previous-commit-8579ccc8180f |
| Last Crawled | 2026-01-26 06:43:06 (2 months ago) |
| First Indexed | 2020-09-16 22:41:59 (5 years ago) |
| HTTP Status Code | 200 |
| Meta Title | Using Git ā how to go back to a previous commit | by Tolani Benson | The Startup | Medium |
| Meta Description | Using Git ā how to go back to a previous commit Git & GitHub are powerful tools which allow us to track all our changes to our projects and, when we inevitably do something that breaks them, go ⦠|
| Meta Canonical | null |
| Boilerpipe Text | 3 min read
May 30, 2020
Git & GitHub are powerful tools which allow us to track all our changes to our projects and, when we inevitably do something that breaks them, go back to a previous working state. We are all aware of this time-reversing magic, but not necessarily how to do it!
Hereās a quick and simple guide on how to turn back time on your project and revert to a previous version.
Press enter or click to view image in full size
Photo by
Icons8 Team
on
Unsplash
Find the version you want to go back to
You have two options here:
1) In your terminal you can type:
$
git log --oneline
This is where it is important you gave yourself descriptive commit messages! It will show in your terminal a list of commits along with the commit message you set originally. If you have decent commit messages and you know what youāre looking for you should be able to work out which version you want to go back to from here. If you want a bit more information such as the time, date, and author of each commit you can omit the
--oneline
tag.
2) You can go through your commit history on your GitHub repo via the GitHub website. This allows you to check the state of all the files in the repo at each commit to make sure you are going back to the correct version.
Press enter or click to view image in full size
Press enter or click to view image in full size
This is useful if you
didnāt
give yourself useful commit messages, or youāre just not sure exactly which version you need to go back to. Committing little and often, so that your change history is clear should save you from having to take this route.
Get Tolani Bensonās stories inĀ yourĀ inbox
Join Medium for free to get updates fromĀ thisĀ writer.
Whichever option you use,
take a note of the ID
of the commit you want to revert to.
Go back to the selected commit on your local environment
Use git checkout & the ID (in the same way you would checkout a branch) to go back:
$ git checkout <commit-id> .
Donāt forget the final ā
.ā ā
You arenāt required to add this, and it may look like it has worked but if you leave this off it will take you to a new ādetached head stateā where you can make changes and it will allow you to make commits, but nothing will be saved and any commits you make will be lost.
This will take you to the version you wanted to go back to in your local environment.
Add this version to the staging area and push to remote
In the same way that you would with any normal commit, you have to add all files and push to remote to save this state.
$ git add .
$ git commit -m "Reverting to <commit-id>"
$ git push
Give yourself a slightly more descriptive commit message ā maybe why you are reverting!!
And thatās it! Youāve turned back time on your project! Hurrah! |
| Markdown | [Sitemap](https://medium.com/sitemap/sitemap.xml)
[Open in app](https://play.google.com/store/apps/details?id=com.medium.reader&referrer=utm_source%3DmobileNavBar&source=post_page---top_nav_layout_nav-----------------------------------------)
Sign up
[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2Fswlh%2Fusing-git-how-to-go-back-to-a-previous-commit-8579ccc8180f&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)
[Medium Logo](https://medium.com/?source=post_page---top_nav_layout_nav-----------------------------------------)
[Write](https://medium.com/m/signin?operation=register&redirect=https%3A%2F%2Fmedium.com%2Fnew-story&source=---top_nav_layout_nav-----------------------new_post_topnav------------------)
[Search](https://medium.com/search?source=post_page---top_nav_layout_nav-----------------------------------------)
Sign up
[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2Fswlh%2Fusing-git-how-to-go-back-to-a-previous-commit-8579ccc8180f&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)

[The Startup](https://medium.com/swlh?source=post_page---publication_nav-f5af2b715248-8579ccc8180f---------------------------------------)
Ā·
Follow publication
[](https://medium.com/swlh?source=post_page---post_publication_sidebar-f5af2b715248-8579ccc8180f---------------------------------------)
Get smarter at building your thing. Follow to join The Startupās +8 million monthly readers & +772K followers.
Follow publication
Top highlight
# Using Git ā how to go back to a previous commit
[](https://medium.com/@t.benson?source=post_page---byline--8579ccc8180f---------------------------------------)
[Tolani Benson](https://medium.com/@t.benson?source=post_page---byline--8579ccc8180f---------------------------------------)
Follow
3 min read
Ā·
May 30, 2020
1K
12
[Listen](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2Fplans%3Fdimension%3Dpost_audio_button%26postId%3D8579ccc8180f&operation=register&redirect=https%3A%2F%2Fmedium.com%2Fswlh%2Fusing-git-how-to-go-back-to-a-previous-commit-8579ccc8180f&source=---header_actions--8579ccc8180f---------------------post_audio_button------------------)
Share
Git & GitHub are powerful tools which allow us to track all our changes to our projects and, when we inevitably do something that breaks them, go back to a previous working state. We are all aware of this time-reversing magic, but not necessarily how to do it\!
Hereās a quick and simple guide on how to turn back time on your project and revert to a previous version.
Press enter or click to view image in full size

Photo by [Icons8 Team](https://unsplash.com/@icons8?utm_source=medium&utm_medium=referral) on [Unsplash](https://unsplash.com/?utm_source=medium&utm_medium=referral)
### Find the version you want to go back to
You have two options here:
1\) In your terminal you can type:
```
$ git log --oneline
```
This is where it is important you gave yourself descriptive commit messages! It will show in your terminal a list of commits along with the commit message you set originally. If you have decent commit messages and you know what youāre looking for you should be able to work out which version you want to go back to from here. If you want a bit more information such as the time, date, and author of each commit you can omit the `--oneline` tag.
2\) You can go through your commit history on your GitHub repo via the GitHub website. This allows you to check the state of all the files in the repo at each commit to make sure you are going back to the correct version.
Press enter or click to view image in full size

Press enter or click to view image in full size

This is useful if you **didnāt** give yourself useful commit messages, or youāre just not sure exactly which version you need to go back to. Committing little and often, so that your change history is clear should save you from having to take this route.
## Get Tolani Bensonās stories in your inbox
Join Medium for free to get updates from this writer.
Subscribe
Subscribe
Whichever option you use, **take a note of the ID** of the commit you want to revert to.
### Go back to the selected commit on your local environment
Use git checkout & the ID (in the same way you would checkout a branch) to go back:
```
$ git checkout <commit-id> .
```
> Donāt forget the final ā **.ā ā** You arenāt required to add this, and it may look like it has worked but if you leave this off it will take you to a new ādetached head stateā where you can make changes and it will allow you to make commits, but nothing will be saved and any commits you make will be lost.
This will take you to the version you wanted to go back to in your local environment.
### Add this version to the staging area and push to remote
In the same way that you would with any normal commit, you have to add all files and push to remote to save this state.
```
$ git add .
$ git commit -m "Reverting to <commit-id>"
$ git push
```
Give yourself a slightly more descriptive commit message ā maybe why you are reverting!\!
And thatās it! Youāve turned back time on your project! Hurrah\!
[Programming](https://medium.com/tag/programming?source=post_page-----8579ccc8180f---------------------------------------)
[Github](https://medium.com/tag/github?source=post_page-----8579ccc8180f---------------------------------------)
[Web Development](https://medium.com/tag/web-development?source=post_page-----8579ccc8180f---------------------------------------)
[Git](https://medium.com/tag/git?source=post_page-----8579ccc8180f---------------------------------------)
[Coding](https://medium.com/tag/coding?source=post_page-----8579ccc8180f---------------------------------------)
1K
1K
12
[](https://medium.com/swlh?source=post_page---post_publication_info--8579ccc8180f---------------------------------------)
[](https://medium.com/swlh?source=post_page---post_publication_info--8579ccc8180f---------------------------------------)
Follow
[Published in The Startup](https://medium.com/swlh?source=post_page---post_publication_info--8579ccc8180f---------------------------------------)
[871K followers](https://medium.com/swlh/followers?source=post_page---post_publication_info--8579ccc8180f---------------------------------------)
Ā·[Last published 1 day ago](https://medium.com/swlh/increase-your-cash-flow-a-s-a-p-with-one-call-361fc7355cf3?source=post_page---post_publication_info--8579ccc8180f---------------------------------------)
Get smarter at building your thing. Follow to join The Startupās +8 million monthly readers & +772K followers.
Follow
[](https://medium.com/@t.benson?source=post_page---post_author_info--8579ccc8180f---------------------------------------)
[](https://medium.com/@t.benson?source=post_page---post_author_info--8579ccc8180f---------------------------------------)
Follow
[Written by Tolani Benson](https://medium.com/@t.benson?source=post_page---post_author_info--8579ccc8180f---------------------------------------)
[77 followers](https://medium.com/@t.benson/followers?source=post_page---post_author_info--8579ccc8180f---------------------------------------)
Ā·[22 following](https://medium.com/@t.benson/following?source=post_page---post_author_info--8579ccc8180f---------------------------------------)
Ex-financial analyst turned software engineer. Lover of learning, coding, cake and dogs. Not in that order.
Follow
## Responses (12)

Write a response
[What are your thoughts?](https://medium.com/m/signin?operation=register&redirect=https%3A%2F%2Fmedium.com%2Fswlh%2Fusing-git-how-to-go-back-to-a-previous-commit-8579ccc8180f&source=---post_responses--8579ccc8180f---------------------respond_sidebar------------------)
Cancel
Respond
[](https://medium.com/@bigphatnerd?source=post_page---post_responses--8579ccc8180f----0-----------------------------------)
[Wilson Horrell](https://medium.com/@bigphatnerd?source=post_page---post_responses--8579ccc8180f----0-----------------------------------)
[Oct 29, 2021](https://medium.com/@bigphatnerd/you-are-one-of-gods-most-wonderful-creatures-c7fffbf20b2f?source=post_page---post_responses--8579ccc8180f----0-----------------------------------)
```
You are one of God's most wonderful creatures!!!The period.The (.)The period add the end of the commit hash solves like 98% of my problems. Holy moly, why is this not mentioned more often? (Am I missing something?)
```
10
1 reply
Reply
[](https://medium.com/@BenNadel?source=post_page---post_responses--8579ccc8180f----1-----------------------------------)
[Ben Nadel](https://medium.com/@BenNadel?source=post_page---post_responses--8579ccc8180f----1-----------------------------------)
[Apr 6, 2023](https://medium.com/@BenNadel/exactly-what-i-needed-2348e2774683?source=post_page---post_responses--8579ccc8180f----1-----------------------------------)
```
Exactly what I needed! I know how to revert individual merge commits, but wasn't sure how to go back to an arbitrary commit. Worked like a charm.
```
3
Reply
[](https://medium.com/@gregburgess?source=post_page---post_responses--8579ccc8180f----2-----------------------------------)
[Greg Burgess](https://medium.com/@gregburgess?source=post_page---post_responses--8579ccc8180f----2-----------------------------------)
[Apr 15, 2022](https://medium.com/@gregburgess/this-was-so-much-easier-than-the-method-i-used-last-time-140316986546?source=post_page---post_responses--8579ccc8180f----2-----------------------------------)
```
This was so much easier than the method I used last time. It's worth mentioning that this approach will not remove files that were added after the commit you're reverting. It will change the existing files back to their previous versions, which is what I needed this time around! Thanks!
```
4
1 reply
Reply
See all responses
## More from Tolani Benson and The Startup

[](https://medium.com/swlh?source=post_page---author_recirc--8579ccc8180f----0---------------------9c6445cf_2735_472a_b998_4a5cc6377864--------------)
In
[The Startup](https://medium.com/swlh?source=post_page---author_recirc--8579ccc8180f----0---------------------9c6445cf_2735_472a_b998_4a5cc6377864--------------)
by
[Tolani Benson](https://medium.com/@t.benson?source=post_page---author_recirc--8579ccc8180f----0---------------------9c6445cf_2735_472a_b998_4a5cc6377864--------------)
[Using Git ā how to add a repo to track an existing projectSimple instructions for how to add a GitHub repo to track an existing project.](https://medium.com/swlh/using-git-how-to-add-a-repo-to-track-an-existing-project-a05093f76396?source=post_page---author_recirc--8579ccc8180f----0---------------------9c6445cf_2735_472a_b998_4a5cc6377864--------------)
Jun 6, 2020
[A clap icon 211](https://medium.com/swlh/using-git-how-to-add-a-repo-to-track-an-existing-project-a05093f76396?source=post_page---author_recirc--8579ccc8180f----0---------------------9c6445cf_2735_472a_b998_4a5cc6377864--------------)

[](https://medium.com/swlh?source=post_page---author_recirc--8579ccc8180f----1---------------------9c6445cf_2735_472a_b998_4a5cc6377864--------------)
In
[The Startup](https://medium.com/swlh?source=post_page---author_recirc--8579ccc8180f----1---------------------9c6445cf_2735_472a_b998_4a5cc6377864--------------)
by
[R. Paulo Delgado](https://medium.com/@RPauloDelgado?source=post_page---author_recirc--8579ccc8180f----1---------------------9c6445cf_2735_472a_b998_4a5cc6377864--------------)
[The Unsexy Way Iāve Made a Living as a Coder for 15 YearsUnsexy business models make bank.](https://medium.com/swlh/the-unsexy-way-ive-made-a-living-as-a-coder-for-15-years-be48421f4f00?source=post_page---author_recirc--8579ccc8180f----1---------------------9c6445cf_2735_472a_b998_4a5cc6377864--------------)
Jan 13
[A clap icon 1.3KA response icon 39](https://medium.com/swlh/the-unsexy-way-ive-made-a-living-as-a-coder-for-15-years-be48421f4f00?source=post_page---author_recirc--8579ccc8180f----1---------------------9c6445cf_2735_472a_b998_4a5cc6377864--------------)

[](https://medium.com/swlh?source=post_page---author_recirc--8579ccc8180f----2---------------------9c6445cf_2735_472a_b998_4a5cc6377864--------------)
In
[The Startup](https://medium.com/swlh?source=post_page---author_recirc--8579ccc8180f----2---------------------9c6445cf_2735_472a_b998_4a5cc6377864--------------)
by
[Anirban Kar](https://medium.com/@anirbankar?source=post_page---author_recirc--8579ccc8180f----2---------------------9c6445cf_2735_472a_b998_4a5cc6377864--------------)
[What the Smartest People I Know Are Quietly LearningBecause hustle isnāt (always) enough.](https://medium.com/swlh/what-the-smartest-people-i-know-are-quietly-learning-c35671c379cf?source=post_page---author_recirc--8579ccc8180f----2---------------------9c6445cf_2735_472a_b998_4a5cc6377864--------------)
Oct 2, 2025
[A clap icon 7.1KA response icon 200](https://medium.com/swlh/what-the-smartest-people-i-know-are-quietly-learning-c35671c379cf?source=post_page---author_recirc--8579ccc8180f----2---------------------9c6445cf_2735_472a_b998_4a5cc6377864--------------)

[](https://medium.com/@t.benson?source=post_page---author_recirc--8579ccc8180f----3---------------------9c6445cf_2735_472a_b998_4a5cc6377864--------------)
[Tolani Benson](https://medium.com/@t.benson?source=post_page---author_recirc--8579ccc8180f----3---------------------9c6445cf_2735_472a_b998_4a5cc6377864--------------)
[A beginnerās guide to MVCExplaining why designing before building apps is important, and how & why to the follow the MVC design pattern](https://medium.com/@t.benson/a-beginners-guide-to-mvc-54bc955258cf?source=post_page---author_recirc--8579ccc8180f----3---------------------9c6445cf_2735_472a_b998_4a5cc6377864--------------)
Jan 20, 2020
[A clap icon 31](https://medium.com/@t.benson/a-beginners-guide-to-mvc-54bc955258cf?source=post_page---author_recirc--8579ccc8180f----3---------------------9c6445cf_2735_472a_b998_4a5cc6377864--------------)
[See all from Tolani Benson](https://medium.com/@t.benson?source=post_page---author_recirc--8579ccc8180f---------------------------------------)
[See all from The Startup](https://medium.com/swlh?source=post_page---author_recirc--8579ccc8180f---------------------------------------)
## Recommended from Medium

[](https://medium.com/@cachecowboy?source=post_page---read_next_recirc--8579ccc8180f----0---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)
[The Cache Cowgirl](https://medium.com/@cachecowboy?source=post_page---read_next_recirc--8579ccc8180f----0---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)
[This Tiny Golang App Pays My RentI never expected a 300-line Go program to become my side-income engine. But here we are: this tiny backend app, originally hacked togetherā¦](https://medium.com/@cachecowboy/this-tiny-golang-app-pays-my-rent-cab30ac85508?source=post_page---read_next_recirc--8579ccc8180f----0---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)
Jul 27, 2025
[A clap icon 2.1KA response icon 34](https://medium.com/@cachecowboy/this-tiny-golang-app-pays-my-rent-cab30ac85508?source=post_page---read_next_recirc--8579ccc8180f----0---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)

[](https://medium.com/lets-code-future?source=post_page---read_next_recirc--8579ccc8180f----1---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)
In
[Letās Code Future](https://medium.com/lets-code-future?source=post_page---read_next_recirc--8579ccc8180f----1---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)
by
[The Unwritten Algorithm](https://medium.com/@the_unwritten_algorithm?source=post_page---read_next_recirc--8579ccc8180f----1---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)
[Git Confused Me for Years Until I Found This Simple GuideMost developers donāt really understand Git ā hereās the simple truth.](https://medium.com/lets-code-future/git-confused-me-for-years-until-i-found-this-simple-guide-a45223bebb40?source=post_page---read_next_recirc--8579ccc8180f----1---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)
Dec 19, 2025
[A clap icon 2.5KA response icon 52](https://medium.com/lets-code-future/git-confused-me-for-years-until-i-found-this-simple-guide-a45223bebb40?source=post_page---read_next_recirc--8579ccc8180f----1---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)

[](https://medium.com/write-a-catalyst?source=post_page---read_next_recirc--8579ccc8180f----0---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)
In
[Write A Catalyst](https://medium.com/write-a-catalyst?source=post_page---read_next_recirc--8579ccc8180f----0---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)
by
[Dr. Patricia Schmidt](https://medium.com/@creatorschmidt?source=post_page---read_next_recirc--8579ccc8180f----0---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)
[As a Neuroscientist, I Quit These 5 Morning Habits That Destroy Your BrainMost people do \#1 within 10 minutes of waking (and it sabotages your entire day)](https://medium.com/write-a-catalyst/as-a-neuroscientist-i-quit-these-5-morning-habits-that-destroy-your-brain-3efe1f410226?source=post_page---read_next_recirc--8579ccc8180f----0---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)
Jan 14
[A clap icon 16.6KA response icon 289](https://medium.com/write-a-catalyst/as-a-neuroscientist-i-quit-these-5-morning-habits-that-destroy-your-brain-3efe1f410226?source=post_page---read_next_recirc--8579ccc8180f----0---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)

[](https://medium.com/generative-ai?source=post_page---read_next_recirc--8579ccc8180f----1---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)
In
[Generative AI](https://medium.com/generative-ai?source=post_page---read_next_recirc--8579ccc8180f----1---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)
by
[Adham Khaled](https://medium.com/@adham__khaled__?source=post_page---read_next_recirc--8579ccc8180f----1---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)
[Stanford Just Killed Prompt Engineering With 8 Words (And I Canāt Believe It Worked)ChatGPT keeps giving you the same boring response? This new technique unlocks 2Ć more creativity from ANY AI model ā no training requiredā¦](https://medium.com/generative-ai/stanford-just-killed-prompt-engineering-with-8-words-and-i-cant-believe-it-worked-8349d6524d2b?source=post_page---read_next_recirc--8579ccc8180f----1---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)
Oct 20, 2025
[A clap icon 23KA response icon 589](https://medium.com/generative-ai/stanford-just-killed-prompt-engineering-with-8-words-and-i-cant-believe-it-worked-8349d6524d2b?source=post_page---read_next_recirc--8579ccc8180f----1---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)

[](https://medium.com/beyond-localhost?source=post_page---read_next_recirc--8579ccc8180f----2---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)
In
[Beyond Localhost](https://medium.com/beyond-localhost?source=post_page---read_next_recirc--8579ccc8180f----2---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)
by
[The Speedcraft Lab](https://medium.com/@speedcraft21?source=post_page---read_next_recirc--8579ccc8180f----2---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)
[I Thought I Knew System Design Until I Met a Google L7 InterviewerA single whiteboard question revealed the gap between knowing patterns and actually designing systems that scale.](https://medium.com/beyond-localhost/i-thought-i-knew-system-design-until-i-met-a-google-l7-interviewer-239385b24881?source=post_page---read_next_recirc--8579ccc8180f----2---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)
Dec 22, 2025
[A clap icon 4.4KA response icon 81](https://medium.com/beyond-localhost/i-thought-i-knew-system-design-until-i-met-a-google-l7-interviewer-239385b24881?source=post_page---read_next_recirc--8579ccc8180f----2---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)

[](https://medium.com/@joe.njenga?source=post_page---read_next_recirc--8579ccc8180f----3---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)
[Joe Njenga](https://medium.com/@joe.njenga?source=post_page---read_next_recirc--8579ccc8180f----3---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)
[I Tried New Claude Code Ollama Workflow ( Itās Wild & Free)Claude Code now works with Ollama, which takes the game to the next level for developers who want to work locally or need flexible modelā¦](https://medium.com/@joe.njenga/i-tried-new-claude-code-ollama-workflow-its-wild-free-cb7a12b733b5?source=post_page---read_next_recirc--8579ccc8180f----3---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)
6d ago
[A clap icon 1KA response icon 16](https://medium.com/@joe.njenga/i-tried-new-claude-code-ollama-workflow-its-wild-free-cb7a12b733b5?source=post_page---read_next_recirc--8579ccc8180f----3---------------------e6c9c826_8d9a_4a98_9d0d_a462aa373ebd--------------)
[See more recommendations](https://medium.com/?source=post_page---read_next_recirc--8579ccc8180f---------------------------------------)
[Help](https://help.medium.com/hc/en-us?source=post_page-----8579ccc8180f---------------------------------------)
[Status](https://status.medium.com/?source=post_page-----8579ccc8180f---------------------------------------)
[About](https://medium.com/about?autoplay=1&source=post_page-----8579ccc8180f---------------------------------------)
[Careers](https://medium.com/jobs-at-medium/work-at-medium-959d1a85284e?source=post_page-----8579ccc8180f---------------------------------------)
[Press](mailto:pressinquiries@medium.com)
[Blog](https://blog.medium.com/?source=post_page-----8579ccc8180f---------------------------------------)
[Privacy](https://policy.medium.com/medium-privacy-policy-f03bf92035c9?source=post_page-----8579ccc8180f---------------------------------------)
[Rules](https://policy.medium.com/medium-rules-30e5502c4eb4?source=post_page-----8579ccc8180f---------------------------------------)
[Terms](https://policy.medium.com/medium-terms-of-service-9db0094a1e0f?source=post_page-----8579ccc8180f---------------------------------------)
[Text to speech](https://speechify.com/medium?source=post_page-----8579ccc8180f---------------------------------------) |
| Readable Markdown | null |
| Shard | 77 (laksa) |
| Root Hash | 13179037029838926277 |
| Unparsed URL | com,medium!/swlh/using-git-how-to-go-back-to-a-previous-commit-8579ccc8180f s443 |