To undo the check out of a single file:
  1. In the Project Explorer, right-click a file node.
  2. Choose Source Control > Undo Check Out.
To undo check out of multiple files:
  1. In the Project Explorer, right-click a solution, project, or folder.
  2. 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.

  1. In the dialog, deselect the files you do not wish to revert.
  2. Click OK.