Checking in Shelvesets

cjs picture cjs · Jul 13, 2010 · Viewed 22.5k times · Source

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.

Answer

Grant Holliday picture Grant Holliday · Dec 22, 2010

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.