Checking in Shelvesets

Viewed 24104

I'm a developer and I've made some changes to a solution, which I have saved off to a shelveset. Another developer unshelves my changes and builds the solution on a server. Is there a way for the second developer to check in my shelveset? I know he/she can check in the individual files comprising the shelveset. However, I was thinking of a "checkin" command that took the name of a shelveset as a parameter, or if there was another way to check in those changes as a unit, with the shelveset name.

5 Answers

The other developer can open a Visual Studio Command Prompt and use the following command:

tf checkin /shelveset:shelvesetname;shelvesetowner

See Checkin Command on MSDN for more details.

For those having issues with the error:"Items cannot be specified with the /shelveset option.", try putting the user name in parenthesis as follows:

tf checkin /shelveset:shelvesetname;"shelvesetowner"

Related