TFS命令行(团队资源pipe理器无处不在)和工作区

我需要能够从windows和linux同时检出文件。 我find的唯一解决scheme是使用“服务器工作区”。 但是,用于创build工作区的命令行没有“位置”选项:

tf workspace -new -login:username,password -server:https://me.visualstudio.com/DefaultCollection linux-machine 

任何想法我可以做什么? 你知道有什么办法从Linux创build一个服务器工作区?

谢谢

尝试在Windows上创build服务器工作区,然后使用Linux上的/template选项来设置相同的configuration。

出现一个更简单的方法来使用-template

有一个未-location:server参数-location:server ,允许在服务器上configuration工作区(无需以前的工作)。

该命令如下所示:

 tf workspace -new -login:username,password -server:https://me.visualstudio.com/DefaultCollection -location:server linux-machine