简体   繁体   中英

How to undo Revert and save files (SmartGit)

I seem to be breaking a project I have been working on for 2 months. I am using SmartGit: At first I wanted to commit all the files, but the size turned out to be large and I did Revert thinking that it would just undo the commit, but this deleted all local files.

在此处输入图片说明

How can I undo the deletion and save the files? 在此处输入图片说明

In SmartGit, just invoke Local|Undo Last Commit; this will put your changes back to the Index. Now you may revert them partially or all together using Local|Discard - it helped to revert the changes.

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