Imad
Imad

Reputation: 7490

Rollback Get Latest on TFS

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.

Upvotes: 1

Views: 225

Answers (3)

Imad
Imad

Reputation: 7490

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.

Upvotes: 0

mguassa
mguassa

Reputation: 4567

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:

Upvotes: 3

Daniel Mann
Daniel Mann

Reputation: 59073

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

Upvotes: 4

Related Questions