How to update TFS workspace after computer name changes?

前端 未结 11 1470
感情败类
感情败类 2021-01-30 13:06

I renamed my computer name, and now my TFS workspace is broken in Visual Studio 2012.

When I type:

tf workspaces /computer:ABOTONJIC-PC /owner:* /format:         


        
11条回答
  •  孤城傲影
    2021-01-30 13:18

    tf workspaces /updateComputerName:REPLCATEOLDCOMPUTERNAMEHERE /collection:REPLACETFSURL
    

    example:

    tf workspaces /updateComputerName:DESKTOP-42CLO97 /collection:https://testuserxx.visualstudio.com
    

    VS2017

提交回复
热议问题