Microsoft Gold Certified Partner
 

Rolling back other people’s TFS 2008 check-ins

One of our developers has been unfortunate enough to have developed a hospitalising condition. A capable guy, he was at the hub of a lot of things. It also meant that he had a lot of stuff checked out when he was struck down. The project has moved on somewhat and we need to branch the code. Exceedingly messy if there are file changes pending. TFS2008 has a command line remedy to this.

tf undo [/workspace:NAMEOFWORKSPACE [;USERNAME]] $/LOCATION /s:http://YOURSERVER:8080 /recursive

I will leave it to you good people to substitute out all of the necessary values for the capitalised placeholders.

 

Comments are closed.