简体   繁体   English

TFS结帐类似于SVN结帐

[英]TFS checkout something similar to SVN checkout

I have to get the complete code of a project, like SVN checkout from TFS using the JAVA Sdk for TFS. 我必须获得完整的项目代码,例如使用JAVA Sdk for TFS从TFS进行SVN签出。 What is the best way to go about it? 最好的方法是什么?

You can acces the API of TFS, but it's not the best way to do. 您可以访问TFS的API,但这并不是最好的方法。 If you want just get the to work and back to repository, a normal cycle of development, you can use the command line! 如果您只是想正常工作并回到存储库(正常的开发周期),则可以使用命令行!

To get the entire workspace: 要获得整个工作区:

tf get

To commit/checkin edited code: 提交/签入已编辑的代码:

tf checkin /comment:"New version of API"

You found the help commands of the tool in: Use Team Foundation version control commands 您在以下位置找到了该工具的帮助命令: 使用Team Foundation版本控制命令

If you are using eclipse you have a TFS plugin available in Eclipse Marketplace. 如果您使用的是eclipse,则在Eclipse Marketplace中可以使用TFS插件。 This link has all details of installing that. 此链接包含安装它的所有详细信息。 The page has further links to details regarding checkout and many more. 该页面还有其他链接,可链接到有关结帐等详细信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM