To remove files from source control:
- In the Project Explorer, select the file to remove. If you select
a folder, project, or solution, any eligible child items will also be
removed.
- 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.
Note
Files are scheduled to be removed from source control and will still be
and seen by others, giving you the opportunity to revert the removal. When you
commit the file, the file is removed from source control.
Enabling the VCS > Options > Remove Immediately option will bypass the
dialog and immediately remove (but not commit) files.