How to update TFS workspace after computer name changes?

前端 未结 11 1469
感情败类
感情败类 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

    In

    C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE>
    

    run in CMD as admin this command

    tf workspaces /collection:https://SERVER_NAME.visualstudio.com/DefaultCollection /updateComputerName:OLD_COMPUTER_NAME
    

提交回复
热议问题