简体   繁体   中英

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. 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. 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

If you are using eclipse you have a TFS plugin available in Eclipse Marketplace. This link has all details of installing that. The page has further links to details regarding checkout and many more.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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