tfs的撤销签出没有图形化界面,需要用命令行实现
1.查找那个人所用到的workspace,操作如下 tf workspaces /owner:zhz /Server:http://192.168.1.200:8080 命令结果:Server: http://192.168.1.200:8080
workspace Owner Computer
--------- ------ -------
RZ zhz RZ
2.撤销他的签出(强制),操作如下:tf undo /workspace:RZ(工作区名字);zhz(用户名)$/xxx/xxxxx/aaa.csproj /Server:http://192.168.1.200:8080 具体操作可以查看命令帮助:tf /?
注:最好要有"管理工作区"权限(团队资源管理器,服务器右键->tfs设置->安全性),或者用tf perm命令设置tf:undother权限