TFS2010 取消锁定
CMD到TFS的命令
32位操作系统: c:/program files/microsoft visual studio 10.0/common7/ide。
64位操作系统: c:/program files(x86)/microsoft visual studio 10.0/common7/ide。
执行tf undo解锁命令
tf undo /server: TFS服务器URL /workspace:锁定文件的工作区名称;锁定文件的用户 锁定文件的绝对路劲(TFS所在服务端)
如:tf undo /server: http://192.168.1.100:8080/tfs /workspace:LOCKPCNAME;LOCKUSERNAME D:/ITEMS/TEST/TEST.CS
单文件强制签入
tf undo /workspace:DESKTOP-5CCCRDB;Administrator $/ITEMS/TEST/TEST.CS /server:http://192.168.1.100:8080/tfs/DefaultCollection
tf undo /workspace:DESKTOP-5CCCRDB;Administrator $/ITEMS/TEST/TEST.CS /server:http://192.168.1.100:8080/tfs/DefaultCollection
批量强制签入(*为通配符)
tf undo /server:http://192.168.1.100:8080/tfs/DefaultCollection /workspace:DESKTOP-5CCCRDB;Administrator $/ITEMS/TEST/* /recursive