Before you commit modified files, review changes and mark any
new files for addition into source control. The files under source
control that you can commit to a repository display the Added to Source
Control symbol
or
the Modified File symbol
in the Current Folder browser.
If you are using SVN, in the Current Folder browser select the files you want to commit. Right-click and select Source Control > Commit Selection to SVN Repository. To commit all modified or added files, right-click in the Current Folder browser and select Source Control > Commit All to SVN Repository. This commits the changes to your repository.
If you are using Git™, to commit all modified or added files to the repository, right-click in the Current Folder browser, and select Source Control > Commit All to Git Repository. This commits the changes to your local repository. To commit to the remote repository, see Push and Fetch with Git.
If you are using Git and have installed a command-line Git client, you have the option to commit select files to the Git repository. Select the files in the Current Folder browser then right-click and select Source Control > Commit Selection to Git Repository. For more information on command-line Git, see Install Command-Line Git Client.
Enter comments in the dialog box, 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 the revision up to the current HEAD revision.
If you are using SVN source control, right-click in the Current Folder browser. Select Source Control > Update All from SVN.
If you are using Git source control, right-click in the Current Folder browser. Select Source Control > Fetch.
Resolve any conflicts before you commit.