Android Studio Shelved Changes Disappeared, Not Even In The .idea/shelf Directory
Solution 1:
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 :)
Solution 2:
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.
Solution 3:
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.
Solution 4:
I'm probably too late to help out, but this link should help! It speaks towards shelving/unshelving changes.
Solution 5:
I had the same problem today and none of the VCS tools were able to recover the stash.
Another workaround, assuming that the changes are fairly recent is to simply look in the local history of your entire project. You should see an entry called Revert
- just revert your project to that state and your changes should be back.
If you don't see that entry, try going back in the history till you find the changes you're looking for.
Post a Comment for "Android Studio Shelved Changes Disappeared, Not Even In The .idea/shelf Directory"