Member-only story

[TroubleShooting] How to rollback a dropped stash?

I hope it will be able to save your time!

Jangwook Kim
1 min readJun 11, 2020

Git is the one of the best tool for programmers. But sometimes we have met some troubles by Git.

Problem

Oops, I have dropped my stash!

Hint

When you are stash local files, the Git commits the stash, even if we cannot check that commit.

Solution

First, find the hash of the stash commits.

Second, apply that commit!

Write Medium in Markdown? Try Markdium!

--

--

Jangwook Kim
Jangwook Kim

Written by Jangwook Kim

Korean, live in Japan. The programmer. I love to learn something new things. I’m publishing my toy projects using GitHub. Visit https://www.jangwook.net.

No responses yet