Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using tf.exe to get code for different workspaces

I'm developing code on my machine using one local workspace to get and check in code from TFS. I'm also building an automated CI app which uses my machine and needs to get the latest code. I use the following to get latest for the CI app:

tf get $/abc/abc /recursive /all

I want to use a different local workspace, a CI workspace, to get latest to avoid conflict with dev code. BUT using tf, I'm not able to specify a workspace when using the get command and the MSDN doc doesn't show anyway to do this. How can I use "tf get" to specify the workspace I want to use?

like image 394
Stagg Avatar asked Feb 20 '23 13:02

Stagg


1 Answers

Prior to the tf get, change directory to one of the directories mapped in the CI workspace. tf get will base the server and workspace off of the details for the mapped drive.

like image 116
Robaticus Avatar answered Feb 26 '23 12:02

Robaticus