1

我正在尝试从命令行连接到 Team Foundation Server。
这些是我连接的步骤:

tf eula

tf workspace -new Beta1 -collection:http://myserver:8080/tfs/DefaultCollection

tf workfold -map $/ScrumProject/JavaSample -workspace:Beta1 /Users/Example

tf get

我从 http://msdn.microsoft.com/en-us/library/hh873092.aspx得到这个命令

问题是当我写tf get我总是收到这条消息

“所有文件都是最新的。” 并且 distention 文件夹中不存在任何文件。

提前致谢。

4

1 回答 1

0

When TFS fo a get operation, and if your workspace version is the same, TFS does not replace any file on disk unless the /all option is specified.

Also there is /overwrite option to forcibly overwrite.

Also when we pass the /force option, TFS overwrites all items in the workspace with the latest server version unless you provide a specific version.

so Can you try something like

 tf get D:\project\* /version:C111 /overwrite /force 
于 2013-07-08T13:36:37.203 回答