To undo the check out of a single file:
- In the Project Explorer, right-click a file node.
- Choose Source Control > Undo Check Out.
To undo check out of multiple files:
- In the Project Explorer, right-click a solution, project, or folder.
- Choose Source Control > Undo Check Out (Recursive).
The dialog box will list the files that
have a status of Checked Out and are therefore eligible for this operation.
- In the dialog, deselect the files you do not wish to revert.
- Click OK.