I had some shelved changes in Android studio However, for some reason the shelved changes are not there anymore. I have checked /project_directory/.idea/shelf/ but they are not there either. does Android studio backup .patch files somewhere else other than .idea/shelf?
I had the same problem I solved it this way: go to VCS > Enable Version Control Integration. then go to View > Tool Windows > Version Control. now by clicking on version control tab you will see your previous shelved changes. Hope it helps someone :)
As far as I know, you're probably screwed.
IntelliJ/Android Studio do not use git stash to do their "shelving", it's an entirely separate mechanism.
You might be able to recover the old version using the "Local History" function of the IDE, or maybe with file recovery software like photorec to recover the patch files.
Personally, I prefer to manage my version control myself with the git command line: you can open up a terminal inside IntelliJ to do this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With