Version Control Integrations > Microsoft Team Foundation Server Integration

Top |Previous |Next

Command-Line Client

Commands recommended for Team Foundation Server

ccollab addchanges - Attaches locally-modified files to a review

ccollab addchangelist - Attaches an atomic changelist to a review

ccollab commit - Commit changes in the review

 

The addchanges command will upload local changes to files controlled by Team Foundation before they are checked in.

The addchangelist command will upload a the files in a Shelveset or Changeset.

Configuration

In most cases, the Command-Line Client can automatically detect your Team Foundation configuration. Try testing your configuration to verify the configuration is detected correctly.

If the Command-Line Client is unable to detect your Team Foundation configuration or you want to override the detected settings, you can manually specify Team Foundation settings using global options.

To manually configure the Command-Line Client to use Team Foundation, execute the following command:

ccollab set scm tfs

Team Foundation Server-specific Options

Option

Description

--tfs-collection <value>

For self-hosted version of Team Foundation Server, specify the URL of Team Foundation Project Collection to work with.

For SaaS version of Team Foundation Server, specify the URL of your Visual Studio Team Services account (without project or collection names).

--tfs-user <value>

The name of Team Foundation user.

--tfs-passwd <value>

The personal access token of the user. For detailed information on generating a personal access token, follow Microsoft documentation.


© 2003-2025 SmartBear Software. All rights reserved.