我的系统管理员重命名了我的电脑.那么它是"MyLaptop2"的地方现在只是"MyLaptop".
所以现在我的所有源代码控制绑定和签出文件都在寻找带有"MyLaptop2"的工作区.
有没有办法将该工作区重定向到我重命名的(但仍然是相同的)计算机?
我重命名了我的计算机名,现在我的TFS工作区在Visual Studio 2012中被破坏了.
当我输入:
tf workspaces /computer:ABOTONJIC-PC /owner:* /format:detailed
Run Code Online (Sandbox Code Playgroud)
Workspace : ABOTONJIC-PC
Owner : wrongowner@test.com
Computer : ABOTONJIC-PC
Comment :
Collection : netuse.visualstudio.com\DefaultCollection
Permissions: Private
Location : Local
File Time : Current
Run Code Online (Sandbox Code Playgroud)
但我需要:
Owner : realowner@test.com
Computer : NEW-PC
Run Code Online (Sandbox Code Playgroud)
然后我尝试:
tf workspaces /updateComputerName:ABOTONJIC-PC /collection:netuse.visualstudio.com/DefaultCollection
Run Code Online (Sandbox Code Playgroud)
No workspace matching *;wrongowner@test.com on computer NEW-PC found in Team Foundation Server netuse.visualstudio.com/DefaultCollection.
Run Code Online (Sandbox Code Playgroud)
所以我的问题是: