According to your comment, seems you are using TFVC as your source control. Assuming you are working on windows platform, check in command should be the one you are looking for.
In the following examples, the %PathToIde%
is usually on a path like
this: %ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE
, or on
Windows x64: %ProgramFiles(x86)%\Microsoft Visual Studio
10.0\Common7\IDE
(depending on Visual Studio version and installation settings).
Example for get:
cd C:\TFS\Arquitectura
"%PathToIde%\TF.exe" get $/Arquitectura/Main /recursive
Example for checkout:
cd C:\TFS\Arquitectura
"%PathToIde%\TF.exe" checkout $/Arquitectura/Main /recursive
Example for checkin:
cd C:\TFS\Arquitectura
"%PathToIde%\TF.exe" checkin $/Arquitectura/Main /recursive
Source Link
If you are working on Linux, take a look at this blog-- Team Foundation Version Control and the Linux Command Line