开发者

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)

  1. Navigate to the folder that used to contain the file or folder, right-click it, and then click Restore previous versions.
  2. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜