RSS Amplifier

Blog posts by Saneef · Jun 27, 2026

Learning notes 2026-W26

0
Sign in to vote or save

Saneef H. Ansari · saneef.com

I missed publishing notes from the last two weeks. I didn’t do much reading during those weeks.

How to recover a dropped stash in Git?

Though I’m a long-time-novice Git user. At times, I do discard file changes after a git stash pop. I know, I should be doing git stash apply instead of git stash pop. Then safely clear the stash. Being an average human writing code, I do my fair share of mistakes.

Anyways, two answers from this Stack Overflow question are really helpful for recovering lost stashes.

  1. If you recently did a drop or pop, you may be able to find the hash from the terminal. Like mentioned in the top voted answer, you can run git stash apply <hash> to recover the changes.
  2. If you can’t find the hash, another answer has a script to list hashes of available stashes in the repo. One of the recent ones would be the one you are looking for.

Reminder: you can stitch together lots of little HTML pages with navigations for interactions

A good reminder by Jim on the possibilities with HTML, CSS, and a sprinkle of JavaScript.

Ideal failures

Your list of ideal failure modes isn’t real.

More posts

Read the original on saneef.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.