Undoing Checkout in TFS
by Alena Semeshko
Here’s a quick tip I today: the easiest and quickest way to undo someone else’s checkout in TFS is by using this command:
tf undo /workspace:WORKSPACE-NAME;User $/myProject/CheckedOutFile.cs /login:myusername,mypassword
And another one: to delete an entire workspace there’s a command that will automatically undo any checkouts:
tf workspace /delete Workspace (add “/login:name,password” to end of command if
MSDN, as usual, has .





