To revert files:
  1. In the Project Explorer, select the file to revert. If you select a folder, project, or solution, any eligible child items will also be reverted.
  2. Choose Source Control > Revert.
  3. The dialog will list the files that can be reverted.
  4. In that dialog, you can deselect any files you don't want to revert.
  5. Click Revert.
Note

Enabling the VCS > Options > Revert Immediately option will bypass the dialog and immediately revert files.