How can I list the last x files I checked in to TFS?
From stackoverflow
-
In Source Code explorer, right click on the project and click View History.
-
Install Team Foudation SideKick, you will have a lot of filter to search what you want inside TFS.
-
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 20The
-stop 50in 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.
-
tf history /user:myusername /stopafter:10 /recursive /noprompt $/
0 comments:
Post a Comment