Hamish Grubijan
Hamish Grubijan

Reputation: 10820

How can I do something like "tf.exe shelveset <shelvesetname> <username>" from VS2010 command prompt?

I am using Visual Studio 2010, connected to Team Foundation Server.

The following command works for change sets:

tf changeset 12345

What is the equivalent command that works with a shelve set?

Upvotes: 0

Views: 1083

Answers (1)

Dennis G
Dennis G

Reputation: 21778

You are talking about TFS Command Line Utilities and you want to do shelve a set instead of changeset?

Well there are the shelve and shelvesets commands.

shelve can be found here and be used like so:
tf shelve [/replace] [/comment:("comment"|@commentfile)] [shelvesetname] [/validate][/noprompt] [/login:username,[password]]

and shelvesets can be worked with like so:
tf shelvesets [/owner:ownername] [/format:(brief|detailed)] [/collection:TeamProjectCollectionUrl]] [/login:username,[password]] shelvesetname

Upvotes: 2

Related Questions