TFS删除已有工作区

有时需要更换TFS路径,但本地路径不想更换,此时要先把工作区删除掉后再用新TFS路径映射。
操作命令为:

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>tf workspace /delete tc-n
b-026;tc-sr-005\Simon /server:http://192.168.1.1:8080/tfs/tnetcollection
TF30063: You are not authorized to access 192.168.1.1\TNETCollection.
A deleted workspace cannot be recovered.
Workspace 'tc-nb-026;tc-sr-005\Simon' on server 'http://192.168.1.1:8080/tfs/t
netcollection' has 0 pending change(s).
Are you sure you want to delete the workspace? (Yes/No) y

posted on 2013-11-28 11:28  simonnet  阅读(993)  评论(0编辑  收藏  举报