I need to go back in some check ins, I did not want to have to get the last valid code and check in over, but delete those entries in version control. Is it possible?
I need to go back in some check ins, I did not want to have to get the last valid code and check in over, but delete those entries in version control. Is it possible?
If your code is in TFVC, before there was a Rollback feature in Team Foundation Power Tools, it was moved to TF.exe!
To use:
tf rollback /changeset:changesetfrom~changesetto [itemspec] [/recursive]
[/lock:none|checkin|checkout] [/version:versionspec]
[/keepmergehistory] [/noprompt] [/login:username,[password]]
tf rollback /toversion:versionspec itemspec [/recursive]
[/lock:none|checkin|checkout] [/version:versionspec]
[/keepmergehistory] [/noprompt] [/login:username,[password]]
To go back to a specific version the parameter that should be used is / toversion
Help for the command can be found here: link
You can also run VS.Net visually: link
p>