Module: TFS Add

Adds files and folders from a local file system to a server for Team Foundation version control.
Note
The results of this command are not reflected in the server for Team Foundation version control until you perform a check-in operation. For more information, see Check In Pending Changes.
Required Permissions:
To use the add command, you must own the workspace and your Check out permission for the parent folder of the new items must be set to Allow. Your Lock permission must also be set to Allow if you use /lock:checkout or /lock:checkin.
Parameters:
Name Type Description
itemspec Array File(s) and folder(s) to get latest version of. If empty, equals CWD.
options Object Checkout command options
callback function Function to call back once executed
Version:
  • 1.4.0
Source:
See: