Questions tagged [tf-cli]

tf.exe is the command-line client for Team Foundation Server

The default command-line client for Team Foundation Server Source control. You can use version control commands to do nearly all tasks you can do in Visual Studio, and also several tasks that can’t be done in Visual Studio. You can use the tf.exe tool to run version control commands from a command prompt or within a script.

See:

Other useful commandline tools for TFS include (from the Team Foundation Server Power Tools), tfsbuild and and .

118 questions
0
votes
1 answer

TF Command Line Executable not showing up on Jenkins

I have installed Jenkins on a Linux Server and I am trying to connect Jenkins to a TFS server. I have the TFS plug-in (4.0.0) installed on my Jenkins and I have also installed the tf command line tool (from here) on my Linux server. When I create…
Ali Bhagat
  • 475
  • 1
  • 6
  • 15
0
votes
1 answer

TF.exe Get changed files list only of given label by command line

How can we get the changed files list only, of given TFS Label. I also wanted to know is there any way by which we can get the label just before the given label and the changed files list. Can we also get the difference between two labels. Thanks in…
Pavan Tiwari
  • 3,077
  • 3
  • 31
  • 71
0
votes
1 answer

Single Team Foundation command exits build step after execution in Jenkins

When executing Team Foundation commands in a free-style Jenkins job on a Windows Slave (within a 'Execute Windows Batch command' section), the successful execution of a command will cause that build step of batch commands to exit regardless of…
R3dChief
  • 181
  • 1
  • 1
  • 9
0
votes
1 answer

How rebuild TFS workspace from the command line?

I need to rebuild my local workspace on my workstation in order to remove a number of conflicting changes that prevent me from making further changes. I'm getting the following error and need to resolve it so that I can continue with my…
hdmq
  • 277
  • 1
  • 4
  • 14
0
votes
1 answer

Check if credentials are cached for tf.exe

How would I check if my credentials are already cached for a specific server using tf.exe? I am trying to do slight automation for tfs get and workspace/workfold configuration. The assumption is that most machines already have the credentials…
Derongan
  • 790
  • 6
  • 24
0
votes
1 answer

TF10125: The path must start with $/

I try to run TFS command: D:\Dev...>tf branch D:\dev\path\to\proj branch_name and i get an error "TF10125: The path must start with $/". the documentation mention that it is OK to run the command as I did, yet i get an error. any ideas? I run on…
OhadR
  • 8,276
  • 3
  • 47
  • 53
0
votes
1 answer

tfs/tf.exe: print currently checked out version

I used tf.exe to get a particular version of a source tree like: $ tf get $/[PATH]/[SUBPATH] /r /version:C1234 Now I want to check the last checkin, but only up to the version as checked out. I tried: $ tf history . /r /noprompt /stopafter:1…
Ben Schwehn
  • 4,505
  • 1
  • 27
  • 45
0
votes
1 answer

Forcibly delete a branch from TFS Express 2012

I have created a branch from trunk in error and want to completely destroy the branch and have so far unable to do so. I have heard of a command called tf destroy but I don't seem to have this. Does anyone know where this file is, or do I need to…
Intrepid
  • 2,781
  • 2
  • 29
  • 54
0
votes
1 answer

xcode 4.6 to commit source code to the TFS

I got a problem while using xcode 4.6 to commit source code to the TFS, i'm using git-tf but i can't commit source to server. I have been cloned folder from server. Please help me.
BlueSky
  • 139
  • 3
  • 9
0
votes
1 answer

TF GET Won't Repopulate Directory

I set up my TFS Workspace and did TF GET, which downloaded huge quantities of files, exactly as expected. Then I wanted to trim my local copy down to just the folders I was supposed to work with. So I deleted all the others on my local copy of the…
0
votes
1 answer

Get all labels in TFS 2010

Is it possible to get all the labels recursively across nested folders? When doing something like: tf history * /recursive In the labels tab I see "The parameter filterItem may not contain wildcards" I've tried various different options, but no…
Alex KeySmith
  • 16,657
  • 11
  • 74
  • 152
0
votes
1 answer

Destroying deleted files/folders from TFS

How to destroy all the TFS files and folders?
mithun_daa
  • 4,334
  • 5
  • 38
  • 50
0
votes
1 answer

History with diffs embedded

To see the history of each checkin a user has done in a directory tree i can type: tf history . /recursive /user:name /noprompt /format:detailed It displays all checkins "name" has performed with checkin comments and paths to the changed files. I…
Björn Lindqvist
  • 19,221
  • 20
  • 87
  • 122
1 2 3 4 5 6 7
8