Question

IDE : IntelliJ
I just clicked on the "clear" in the unstash window by mistake and lost a huge stash. Is there any way to get them back?

(Why is the question getting voted down when none of the solutions that people suggested helped me to recover from my problem. Is one suppose to ask only pedantic and pedagogical questions? )

Was it helpful?

Solution

I lost the stash. But since I was using IntelliJ all through for coding, it kept local history of all the file for almost 1 week.

How I recovered my files using IntelliJ? http://www.jetbrains.com/idea/webhelp/viewing-local-history-of-a-file-or-folder.html#

After that I created a patch (right click on file and time when you thought your changes were stashed) and carefully selected only those files that were modified by me.

Now apply the patch and you are good to go.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top