When working in a project that is connected to a source control application, there may be occasions when you have files in your local copy of the project that are not yet part of the source control copy. For example, when you add a new topic in your local copy of the project, that file will not be included in the source control copy of the project until you add it.
How to add new files to source control
You can use these steps when creating new content files in the project (e.g., topics, style sheets).
Click OK.
The file is added and automatically checked out to you.
How to add existing files to source control
Specific content files only:
Select the relevant folder or file.
If you choose a folder, you can recursively select all files under the folder.
If you want to choose all content files, select the root Content folder.
Note: If you want to select several specific files at the same time, open the File List window pane instead (View>File List) and choose the appropriate files using the CTRL or SHIFT key.
In the Standard toolbar, click the down arrow next to the Source Control button
.
Note: Alternatively, you can right-click on the file or folder and select Source Control from the context menu.
Specific project files only:
Select the relevant folder or file.
If you choose a folder, you can recursively select all files under the folder.
If you want to choose all project files, select the root Project folder.
In the Standard toolbar, click the down arrow next to the Source Control button
.
Note: Alternatively, you can right-click on the file or folder and select Source Control from the context menu.
Select Add.
The Check In dialog opens. The selected files are listed with check boxes next to them.
(Optional) Enter an optional comment tied to the check-in. This enables you to keep an audit trail for a file. The comment can then be viewed from the History dialog, which can be accessed from the Source Control button
.
.