43

I was doing a code inspection with Android Studio and I accepted a change across multiple file which I now wish to undo.

When I go to VCS|Local History | Show History for one of the files, I can see the change was applied to 25 files, but I do not know how to show which files these are. I have version 0.3.5

enter image description here

Ryan Heitner
  • 13,119
  • 6
  • 77
  • 119

2 Answers2

103

Right click on your project in project structure on the left. then Local History -> Show History. If you want to show history only for src folder, click on it.. the same for layout folder etc..

enter image description here

Palejandro
  • 2,092
  • 5
  • 26
  • 38
0

You can use Shelve changes.

This is a great tool to view your changes.


Here is how to open the 'Shelve changes' dialog in Android Studio :

How to open Git shelf on Android Studio


And here is what the dialog looks like :

Dialog

You can also use this box to commit your changes if you want.

Jack'
  • 1,722
  • 1
  • 19
  • 27