34

TFS でブランチを削除したところ、そこにあった変更が必要であることがわかりました。

ブランチまたはそれに加えられた変更を回復するにはどうすればよいですか?

4

2 に答える 2

60

具体的には、Visual Studioで[ツール]-[オプション]に移動し、[ソース管理-Visual Studio Team Founation Server]を選択して、[削除されたアイテムをソース管理エクスプローラーに表示する]をオンにします。

それが済んだら、フォルダを右クリックして「削除を取り消す」と言うことができます

于 2008-09-09T22:25:44.183 に答える
6

As described in the TFS FAQ:

Are Deletes physical or logical? Can accidental deletes be recovered?

Deletes are fully recoverable with the “undelete” operation. You wouldn’t want to do a SQL restore because that would roll back every change to the TFS in the time since the file was deleted.

于 2008-09-08T11:24:24.110 に答える