We're using team foundation server for our source control. I frequently put files into my project (under source control) and forget to "add" them as far as TFS is concerned. There are also cases where TFS doesn't pick up new files (copy and paste a file in your project).
Is there a way I can list all of the files that have not been marked as "add" so that I can verify that all of the intended check-ins take place?
This is driving me crazy! We don't have continuous integration set up yet for this project, and I keep missing files. I don't find out until someone asks me where the file in.
In Subversion, this was dead simple.
I know one solution is to checkout a second copy, but that's not really an optimal workaround.
From the menu bar choose Tools, Options. On the Options dialog box, navigate to Source Control, Visual Studio Team Foundation Server. Select Show deleted items in the Source Control Explorer, and then choose OK.
Use the tf destroy command to destroy, or permanently delete, version-controlled files from Team Foundation version control. The destroy action cannot be reversed. You must not destroy files that are still needed.
Right-click your project or project suite in the Project Explorer and then click Source Control > Unbind From Team Foundation Server.
To remove files from source control:choose Source Control > Remove or press Ctrl+R, R. The dialog will list the files that can be removed. In that dialog, you can deselect any files you don't want to remove. Click Remove.
Go to Source Control Explorer, right click on the folder you are interested in and choose compare.
This will show both files that are not added and also files that have been modified without checking out first.
This solution does not require Power Tools
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With