Change computer name for a TFS Workspace

前端 未结 15 1542
青春惊慌失措
青春惊慌失措 2020-12-07 08:57

My System Administrator renamed my computer. So where it was \"MyLaptop2\" it is now just \"MyLaptop\".

So now all my source control bindings and checked out files

15条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-07 09:24

    Go to VS command prompt and type the following:

    tf workspaces

    This will provide you with the available Collections. Copy the path (essentially a URL) of your intended collection. Then type the following:

    tf workspaces /updateComputerName:"OLD_NAME" /collection:"The URL copied from above"

    (exclude the quotes above)

提交回复
热议问题