[英]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版本控制命令
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.