views:

358

answers:

4

How can I list the last x files I checked in to TFS?

+3  A: 

In Source Code explorer, right click on the project and click View History.

Colin Desmond
+2  A: 

Install Team Foudation SideKick, you will have a lot of filter to search what you want inside TFS.

Nordes
+2  A: 

Using the TFS PS Snapin included with the TFS PowerToys1...

Get-TfsItemHistory "$/" -recurse -stop 50 -user "my-username" | % { Get-TfsChangeset $_.Changesetid} |select -expand changes | select -first 20

The -stop 50 in the first stage is to avoid every change ever being retrieved which will slow things down with a significant repository. Also note, this does not eliminate duplicates where the same file is part of multiple changesets.

1 Information here, here and download. Use the custom install to add the PSSnapin.

Richard
A: 

tf history /user:myusername /stopafter:10 /recursive /noprompt $/

William D. Bartholomew