Command-line Reference (Team Explorer Everywhere)
You can perform version control operations by using the Team Foundation Server plug-in for Eclipse. You can also use the Cross-platform Command-Line Client for Team Foundation Server to perform those tasks.
The command-line tool for version control operations, tf, is very similar to the command-line tool that is provided with Visual Studio.
Note
From a command prompt, you can list all commands and syntax if you type tf and press ENTER.
From a command prompt, you can see detailed information about a command if you type tf help CommandName, where CommandName is the name of the command for which you want additional information.
For example, to see more information about the changeset command, type tf help changeset and press ENTER.
For more information about the commands that are common to both the Cross-platform Command-Line Client for Team Foundation Server and the Visual Studio client, see the following page on the Microsoft Web site: Team Foundation Version Control Command-Line Reference.
Differences from the Visual Studio Command-Line Client
Because the Cross-platform Command-Line Client for Team Foundation Server can be used on different operating systems, some of the syntax and details are different from the Visual Studio command-line client. For more information, see Command-line Syntax (Team Explorer Everywhere).
Most tf commands are common to all command-line clients with which you interact with Team Foundation version control. However, each command-line client has some commands that are unique to that client. Details of those differences are listed in the following table:
Commands that are only available in the Cross-platform Command-Line Client for Team Foundation Server |
Commands that are only available in the Visual Studio command-line client |
---|---|
|
For more information about these, see the following page on the Microsoft Web site: Team Foundation Version Control Command-Line Reference. |