Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I undo check out in TFS for former employees

On our TFS source control server, a lot of source files are checked out by people, which are not employed any more.

Is there a central way where I can undo check out on all files in TFS?

I'm not even sure that they exists in Active Directory anymore.

like image 692
Thomas Jespersen Avatar asked Nov 03 '08 09:11

Thomas Jespersen


People also ask

How do I undo the latest TFS?

If you have deleted files from your local directory and you then want those changes to appear on the server you need to go to the TFS director, select the files you want to delete, right click and delete the folders. Then you need to 'Check In' the pending deletion changes to the TFS server.


1 Answers

Best thing to do is to delete their workspace using with the command line tool (tf.exe) or the TFS Sidekicks from Attrice.

See the following blog post I did on the topic when it happened to me, and I detailed the command line version:

http://www.woodwardweb.com/vsts/unlocking_files.html

like image 92
Martin Woodward Avatar answered Sep 24 '22 00:09

Martin Woodward