1
I need to go back in some check ins, I didn’t want to have to fetch the last valid code and check in over it, but delete these entries in the version control. It is possible to do?
1
I need to go back in some check ins, I didn’t want to have to fetch the last valid code and check in over it, but delete these entries in the version control. It is possible to do?
4
If your code is in TFVC, there was previously 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 return to a specific version the parameter that should be used is the /toversion
Help for the command can be found here: http://msdn.microsoft.com/en-us/library/dd380776.aspx
It is also possible to run on VS.Net visually: http://msdn.microsoft.com/en-us/library/ms194956.aspx#to_one
Browser other questions tagged team-foundation-server
You are not signed in. Login or sign up in order to post.
I don’t have enough reputation to upvote (yet), but it solves my problem. Thank you very much!!
– bupereira