1

I had some changes on my local file but by mistake I took latest version from TFS. Now my changes have been lost. What can I do to take my unchange copy back? Please suggest.

Imad
  • 7,126
  • 12
  • 55
  • 112

3 Answers3

4

Nothing. If you didn't commit your changes, they're gone.

Daniel Mann
  • 57,011
  • 13
  • 100
  • 120
3

Unless you added your previous changes to a shelveset (which is unlikely, otherwise you'd know they're there), your changes are gone.

Further reading, in case you don't know what a shelveset is:

Community
  • 1
  • 1
mguassa
  • 4,051
  • 2
  • 14
  • 19
0

Though Daniel's answer is perfect one for the question, I want to share something with others who might face the same situation as mine. As I got latest version from TFS, new files were giving giving compilation errors hence there was change in source files but not in dlls. After surfing around I have found ILSpy link which helped to to recover my source code.

Imad
  • 7,126
  • 12
  • 55
  • 112