To add a single file to the source-control system:
- In the Project Explorer, right-click a file.
- Choose Add To Source Control.
- Optionally, add a comment to help distinguish this version of the file later.
- Click OK.
To add multiple files to the source-control system:
- In the Project Explorer, right-click a solution, project, or folder.
- Choose Add To Source Control (Recursive).
- The dialog will list the files that can be added, i.e.,
those whose status is Not Controlled.
- In that dialog, you can deselect any files you don't want to add to source control.
- You may optionally add a comment.
- Click OK.