This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.
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?
Android Studio local history might help you, and see here Accidentally reverted to master, lost uncommitted changes, it really depends on your case.
Answered By – Emre Akcan