Search code examples
visual-studio-2010tfscheckinsource-control-explorer

Clear Source Control not checked-in items list


I'd like to clear my (as I call it) not checked-in items history of source control in visual studio.

These items are there because in a project I did include the project via adding the actual windows folder to the team foundation server; and there are bin files and resharper files that are never going to be checked-in.

Everytime I have to check-in something, I need to scroll all the way down to my clearly added project files; and that's annoying.

screenshot

Thanks in advance.


Solution

  • These files should never have been added to source control. Your best bet is to delete from the TFS.

    You should only check-in files that need "version control"; Resharper files, bin\ & obj\ folders, *.suo, *.user files, etc. should be removed from TFS.

    When adding new files to TFS, it has a filter no to add these to source control. See here on MSDN for more details.