Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1. Log in as Tfs Admin
2. Launch Visual studio command prompt
3. use the below Undo workspace command.
tf undo /workspace:userxyzworkpacename "$/Silver/Documents/Project Management/Sprint 12/*.*" /s:https://servername:8080/TFS/[ProjectCollectionName]
4.For recursively deleting all files under the folder use
tf undo /workspace:userxyzworkpacename "$/Silver/Documents/Project Management/Sprint 12/" /s:https://servername:8080/TFS/[ProjectCollectionName] /RECURSIVE
Comments
- Anonymous
March 18, 2012
More help info from cmd prompt for 2010 C:Windowssystem32>TF UNDO /? TF - Team Foundation Version Control Tool, Version 10.0.30319.1 Copyright (c) Microsoft Corporation. All rights reserved. Removes pending changes from a workspace. tf undo [/workspace:workspacename[;workspaceowner]] [/recursive] itemspec [/noprompt] [/login:username,[password]] [/collection:TeamProjectCollectionUrl]