Got latest using TFS, is it possible to revert a file after doing a 'take server version'?
After getting latest, I was asked to perform merge on a file.
By mistake I clicked on 'take server version', is it possib开发者_运维技巧le to get my data back?
Yes, there is chance to get your data back (which I obviously assume that you managed to live without them as it's been more than 3 years since you first asked the question)
- Navigate to the folder that used to contain the file or folder, right-click it, and then click Restore previous versions.
- Double-click a previous version of the folder that contains the file or folder you want to restore.
If you use "Take server version", that means your file, that was until then only on your local computer is now overwritten. So unless you have your file saved in another place, your changes are lost.
If you merged only conflicting changes, then other changes (that were not conflicting with server version) are still in your local file.
精彩评论