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).
In the Copy to Project dialog, click Add to Source Control.
The Add File(s) dialog opens.
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 popup 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 popup menu.
Select Add.
The Add File(s) dialog opens.