The Team Foundation Command line utility provides a command line interface to perform Get latest functions.
Perform a Get Latest or Get by Label using the following Team Foundation Command line utility.
tf get [itemspec] [/version:versionspec] [/all] [/overwrite] [/force] [/preview] [/recursive] [/remap] [/noprompt] [/login:username,[password]]
Type Import command to import all files.
Import.exe -m FooDev -vf Sample.smproj
Note: The -vf parameter indicates the version files to import when using import.exe command.
where:
Parameter | Description |
---|---|
/recursive | Recursively retrieves all elements that match your itemspec. |
/noprompt | Suppresses any dialog boxes that would have been displayed during this operation. |
Refer to Get Command in the Visual Studio Online Help for more information on parameters.
Refer to Team Foundation Command-Line Reference in Visual Studio Online Help for more information on Team Foundation command-line tool, tf.