简体   繁体   中英

Is there any way to get my changes back after I have done “Undo Pending changes”

I'm using Visual Studio 2015 and Git.

I added a new file to the project (For example: Test.cs) and it was not committed to GitHub yet. What happens if I undo all my changes? Does VS delete my file? if so is there any ways to recover that deleted file?

I used a recovery tools that like Reflector and other tools but didn't help me.

This answers didn't help:

Is there any other ways to solve this problem?

There is no supported option for recovering changes after undoing pending changes. A file system recovery is likely your only option but is a long shot.

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