DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Data Engineering
  3. AI/ML
  4. TF.exe Fast Overview

TF.exe Fast Overview

Mohamed Radwan user avatar by
Mohamed Radwan
·
Feb. 06, 13 · Interview
Like (0)
Save
Tweet
Share
3.93K Views

Join the DZone community and get the full member experience.

Join For Free

In this post, I will give a fast overview about tf.exe command line, I will show how to use different options, like checkin, workspces, view, diff, status and wrokfold.

The most important considration that we have take is to navigate to the mapping folder inside the working machine so we can use differnet options otherwise we will see the following: error

Unable to determine the workspace. You may be able to correct this by running
‘tf workspaces /collection:TeamProjectCollectionUrl’.

Open the Visual Studio Command Prompt as Administrator, type tf msdn, this will display the helpOpen-VS-Command-LineTF-msdn

Type tf help checkin, to display the help of the checkin optionDisplay-help-about-option

We will go to the project settings and add 2 notes, Reviewer and Time, after that we will get back to the command line and type tf checkin /comment:”Hello this my comment” /notes:”Reviewer=M.Radwan;Time=5:00″ TF-Checkin-with-comment-notes

This will display the checkin dialog-box with the typed comments and notes. TF-CommentTF-Notes

Now we will output the different between 2 changeset in a file, type tf diff FabrikamFiber.CallCenter\fabrikamfiber.web\controllers\ /version: c7~c26 >c:\Radwan.txt TF-output-diff-in-file

Open the file using Notepad2 and select the Diff Files schema (Into ALM with TFS)TF-Open-diff-with-notepad2TF-diff

To view a file a specific version type tf view FabrikamFiber.CallCenter\fabrikamfiber.web\controllers\CustomerControllers.cs /version:c26 TF-view

Diff Command (computing) Workspace Schema POST (HTTP) Application lifecycle management source control Machine

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Apache Kafka vs. Memphis.dev
  • Java Development Trends 2023
  • Continuous Development: Building the Thing Right, to Build the Right Thing
  • The 12 Biggest Android App Development Trends in 2023

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: