In a project, select the Modified (
If you need to update the modified files list, click Refresh in the source control section of the Project tab.
To check in all files in the modified files list, on the Project tab, in the Source Control section, click Commit.
If you are using SVN source control, this commits changes to your repository.
If you are using Git™ source control, this commits to your local repository. To commit to the remote repository, see Pull and Push.
Enter comments in the dialog box if you want, and click Submit.
A message appears if you cannot commit because the repository has moved ahead. Before you can commit the file, you must update its revision up to the current HEAD revision. If you are using SVN source control, click Update. If you are using Git source control, click Pull. Resolve any conflicts before you commit.
You can commit individual files using the context menu, by selecting Source Control > Commit. However if you commit individual files, you risk not committing the related project definition files that keep track of your files. Instead, use the Modified files view to see all changes, and on the Project tab, click Commit to commit all related changes.