user689737
user689737

Reputation: 3

Cleanup the files in TFS

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 this folders not available in TFS.

Upvotes: 0

Views: 1848

Answers (2)

Jehan33
Jehan33

Reputation: 3780

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

Upvotes: 3

Dan Puzey
Dan Puzey

Reputation: 34198

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.

Upvotes: -1

Related Questions