How do I rollback a TFS check-in?

I can never remember how to rollback a check-in, and there all kinds of mess in search results about this (change between different versions of TFS etc), so I thought I’d just put this here so I won’t forget anymore.  :)  Thanks to @manningj, TFS genius.

Just drop to the command line and use tf.exe.

Example:

tf rollback /changeset:12345

For more on the tf.exe commands:

tf help

image

Print | posted on Tuesday, December 21, 2010 11:24 AM

Feedback

# re: How do I rollback a TFS check-in?

Left by typo at 12/21/2010 9:37 PM
Gravatar I get the feeling there's something missing in this command :) Perhaps 'rollback'? :)

tf /changeset:12345

# Mr

Left by Mega Typhoon at 12/27/2010 2:08 AM
Gravatar I must say i enjoy simply reading through all of your blogs. Just wanted to let you know that there are people like me who appreciate your work.

Your comment:





 
 

Copyright © Lance Robinson

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski