Change computer name for a TFS Workspace

前端 未结 15 1541
青春惊慌失措
青春惊慌失措 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:06

    To expand on some earlier answers, my collection name had some spaces in there. Even if the collection name is surrounded in quotes ("http://1.2.3.4:8080/tfs/My Collection Name") you need to replace any space characters with %20 to resolve the name properly (tf workspaces /updateComputerName:MyOldComputerName /s:"http://1.2.3.4:8080/tfs/My%20Collection%20Name")

提交回复
热议问题