In Visual Studio 2008 I did a find and replace on certain text in config files in a folder under TFS control. The find and replace replaced text in 75 config files.
A message box displayed saying the files were write protected and asked me something like if I wanted to “Save As…” or “Overwrite”. I selected Overwrite on all of them.
I see that all the files were changed but they were not checked out of TFS. Usually when I start editing a file it automatically gets checked out and shown as pending. However, none are pending except the one in the solution I am currently in.
How can I check in all the other 74 files in mass with one description and not have to do each one, one at a time?
Thanks!
This solution uses Visual Studio Team System 2008 Team Foundation Server Power Tools which can be found here:
Visual Studio Team System 2008 Team Foundation Server Power Tools
1) Make changes to your files.
2) Open a command prompt where the files exist.
3) Run the following:
4) In the windows that opens sort so that you can see Edited files.
5) Select the files that were changed and un-select everything else.
6) Change state to Pending.
7) Go to Visual Studio and check in Pending files.