Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Command-line Reference (Team Explorer Everywhere)

Visual Studio 2010

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.

NoteNote

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.

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

  • Eula Command – used to accept the Microsoft Software License Terms

  • Getcs Command – provides the same features as the Team Foundation power tool’s getcs feature, but does not support a –force option.

  • Print Command (Team Explorer Everywhere) – similar to the view command in the Visual Studio client, the print command streams the file directly to standard output. You can redirect the contents to a view.

  • Productkey Command – used to register your product key for license configuration.

  • Profile Command – used to manage server connection profiles that you can also manage through the Servers dialog box in the Team Foundation Server plug-in for Eclipse. For more information, see Connect to Team Projects.

  • Profiles Command – used to display a list of all defined server connection profiles on your local computer. For more information, see Connect to Team Projects.

  • Reconcile Command– used to reconcile the changes in your local workspace with the changes that are checked into version control after a gated check-in build completes successfully.

  • permission – you can manage permissions only from the Visual Studio clients of Team Foundation.

  • localversions

  • configure

  • folderdiff

  • msdn

  • rollback

  • view

For more information about these, see the following page on the Microsoft Web site: Team Foundation Version Control Command-Line Reference.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft