I have changes on devel
branch. I checked out on master
without commiting the changes. All the local changes got deleted in devel
. How can I retrieve them?
Asked
Active
Viewed 401 times
0

mike
- 1,233
- 1
- 15
- 36

minhazmiraz
- 442
- 4
- 12
-
Android Studio local history might help you, and see here https://stackoverflow.com/questions/7147680/accidentally-reverted-to-master-lost-uncommitted-changes – Emre Akcan Sep 22 '20 at 14:16
-
Sounds disastrous. Might be the way android-studio handles stuff. Try checking your stash history with `git stash list`, but deleting on checkout is super invasive, I would look to remove that feature before continuing. – Thomas Sep 23 '22 at 14:48
-
Does this answer your question? [Accidentally reverted to master, lost uncommitted changes](https://stackoverflow.com/questions/7147680/accidentally-reverted-to-master-lost-uncommitted-changes) – Gino Mempin Sep 24 '22 at 03:09
1 Answers
0
Android Studio local history might help you, and see here Accidentally reverted to master, lost uncommitted changes, it really depends on your case.

Emre Akcan
- 982
- 10
- 27