0

I deleted a project folder in TFS, without realizing and checked in pending changes as well.

The local project copy was in offline state and I mistakingly made it online. Because of this I lost the only copy I had. Is there a way to restore the project? I know this is foolish and careless but I made the mistake already. Please help.

4

1 回答 1

1

检查这个:这里

在团队资源管理器中(在 Visual Studio 中):工具 | 选项 | 源代码管理 | Visual Studio Team Foundation Server 并选择显示已删除项目...

然后在源代码管理资源管理器中,您会看到项目变灰。您可以右键单击它们并取消删除。(只有在取消删除后,它们将包含在您当前的工作区中时,此选项才可用)。

或者使用 TFS PowerToys,您可以查看历史并右键单击以选择“回滚整个变更集”:这将创建挂起的更改以恢复所选变更集的更改。

于 2013-03-14T12:59:00.773 回答