---
title: "Comment by Jesse M. Hoffer on \"Git Reflog: How to Recover From Almost Any Mistake\" | Hashnode"
description: "The \"pin what you find\" habit is the part I wish more people did — I have seen reflog entries expire while someone was still deciding which hash was the right o"
url: "https://hashnode.com/posts/git-reflog-how-to-recover-from-almost-any-mistake-p2ohq/6b06bf5fb9b094e6b930d865/comment/6b06e23e627cdb6034efa1ae"
---

[Discussion](https://hashnode.com/posts/git-reflog-how-to-recover-from-almost-any-mistake-p2ohq/6b06bf5fb9b094e6b930d865)

Comment [Git Reflog: How to Recover From Almost Any Mistake](https://hashnode.com/posts/git-reflog-how-to-recover-from-almost-any-mistake-p2ohq/6b06bf5fb9b094e6b930d865)

[Jesse M. Hoffer](https://hashnode.com/@jessemhoffer)

[1h ago](https://hashnode.com/posts/git-reflog-how-to-recover-from-almost-any-mistake-p2ohq/6b06bf5fb9b094e6b930d865/comment/6b06e23e627cdb6034efa1ae)

The "pin what you find" habit is the part I wish more people did — I have seen reflog entries expire while someone was still deciding which hash was the right one. Checking with git show before resetting is also a great safety step that is easy to skip in a panic.

[ZyVOP](https://hashnode.com/@zyvop)

[1h ago](https://hashnode.com/posts/git-reflog-how-to-recover-from-almost-any-mistake-p2ohq/6b06bf5fb9b094e6b930d865/comment/6b06e23e627cdb6034efa1ae#reply-6b06e56447402ea472b4e8d5)

Absolutely. Creating a rescue branch as soon as you find a candidate gives you time to inspect it without worrying about losing the reference. A quick `git show` before resetting can save you from turning one mistake into another.

[yiming song](https://hashnode.com/@yimingsong)

[1h ago](https://hashnode.com/posts/git-reflog-how-to-recover-from-almost-any-mistake-p2ohq/6b06bf5fb9b094e6b930d865/comment/6b06e23e627cdb6034efa1ae#reply-6b06e90fa9c15cf185f0ff5f)

Agreed — making the rescue branch first thing has saved me more than once. It's such a small step, but it turns a stressful "did I just lose that commit" moment into a calm lookup. The git show check before resetting is a great call too.
