问题
How can I list the last x files I checked in to TFS?
回答1:
tf history /user:myusername /stopafter:10 /recursive /noprompt $/
回答2:
Install Team Foudation SideKick, you will have a lot of filter to search what you want inside TFS.
回答3:
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.
回答4:
In Source Code explorer, right click on the project and click View History.
回答5:
Login to your TFS server's web site and look at the changesets.
来源:https://stackoverflow.com/questions/797941/how-can-i-list-all-files-checked-in-by-me-in-team-foundation-server