I stashed my changes because I had to pull. However, I forgot to pop my changes before I turned off my laptop. I tried the command git stash list
to see if my stashed changes is there but I can't find it. How can I retrieve it? Please help. Thanks in advance.
Asked
Active
Viewed 2,541 times
4
-
6Does this help: http://stackoverflow.com/questions/89332/recover-dropped-stash-in-git – Dmitri Oct 10 '12 at 00:53
-
2Shouldn't matter if you turned off your laptop or not. Stashed changes should still be in the repository until you remove them (either with `git pop` or `git stash clear`). – Roman Oct 10 '12 at 03:11
-
1Be sure you are in your git repo ;) As a stash is a commit, it is stored by Git even if you switched your computer off. – greg Oct 10 '12 at 09:32
-
@Dmitri: it is not a dropped stash. – Sergey K. Sep 03 '13 at 13:52