0

I have a solution that is under tfs version control. How can I find out what the current version of the solution on my local computer (what the latest changeset my solution includes)?

Ilya Shpakovsky
  • 281
  • 1
  • 3
  • 16
  • Found the solution [here](http://stackoverflow.com/questions/7748039/get-current-changeset-id-on-workspace-for-tfs). Just use history command. – Ilya Shpakovsky Oct 10 '16 at 09:44

1 Answers1

0

You can use tf history command which displays the revision history of one or more files or folders. This command can be invoked through the Developer Command Prompt for VS20XX installed together with Visual Studio.

tf hist[ory] itemspec [/version:versionspec] 
[/stopafter:number] [/recursive] [/user:username] 
[/format:(brief|detailed)] [/slotmode] [/itemmode] [/noprompt]
[/login:username,[password]] [/sort:ascending,descending]
[/collection:TeamProjectCollectionUrl]
Tore Østergaard
  • 4,362
  • 3
  • 27
  • 43
PatrickLu-MSFT
  • 49,478
  • 5
  • 35
  • 62