Reputation: 13
it's like when you write code A, you markup this state, then you go on editing code A into code B (making lots of steps) and when you want to come back to state A, it's still available?
Upvotes: 1
Views: 8098
Reputation: 1
in Android studio chipmunk go to: git-> vcs operations-> show history. You will find mentioned by BrentM built-in Local History feature of Android Studio
Upvotes: 0
Reputation: 7557
Right click the file which you want to revert and choose Local History
and check the history of changes made to the file and revert back to whatever you needed.
Refer the image attached below
Upvotes: 4
Reputation: 11114
If you can't find local history on Android Studio try this:
At least this is how it's working now in mac (Android Studio ~2.2)
Upvotes: 0
Reputation: 7474
“Version Control System” (VCS)
subversion with Android studio
github, bitbucket (git)
svn (subversion)
Upvotes: 2
Reputation: 5757
While the best method is using a revision control system, it is also possible to roll back changes using the built in Local History feature of Android Studio.
To revert to an older version of a file from within Android Studio just select Local History from the context menu for any text file in your project. This displays the history of edits for the given file and provides a differences view to compare versions and revert to an older version.
Upvotes: 1