开发者

Cleanup the files in TFS

开发者 https://www.devze.com 2023-02-21 22:27 出处:网络
We have added few folders/files in TFS which was deleted later. But, this folders are shown as deleted folders and it seems this can be recovered by performing undelete operation. These files should n

We have added few folders/files in TFS which was deleted later. But, this folders are shown as deleted folders and it seems this can be recovered by performing undelete operation. These files should not have been checked-in in first place. How can I make sure 开发者_C百科this folders not available in TFS.


You can permanently delete the required version-controlled folders/files from Team Foundation Source control using the tf destroy command.

Check this MSDN library for detailed info on tf destroy command: http://msdn.microsoft.com/en-us/library/bb386005.aspx


You can't without directly editing the TFS database (which I really wouldn't recommend). TFS is a version control system; that includes control of deletions.

You could possibly set security on those specific items to deny anyone access to them, if it's important enough.

0

精彩评论

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