简体   繁体   中英

How to rollback changes in android studio?

By mistake I have updated my older files. Is there any way to rollback those transactions. I have executed the update statement from management studio and the script does not have in Begin Trans/rollback/commit.

In Android studio click to folder that you updated by mistake and open: VCS-> Local History -> Show History

在此输入图像描述

It will open list of changes by time, that was done by you locally. Move to time before you made mistake, and right click on it and click Revent. 在此输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM