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:
- How can I get my changes back after clicking "Undo pending changes..." in Visual Studio 2013 and TFS
- TFS 2010 - Is there any way to get my changes back after I have done "Undo Pending changes"?
Is there any other ways to solve this problem?