Check in files using the files panel, Check in an open file from the document window, Undo a file check-out – Adobe Dreamweaver CC 2015 User Manual
Page 122

115
File management
Last updated 6/3/2015
Note: If you check out the currently active file, the currently open version of the file is overwritten by the new checked-
out version.
Check in files using the Files panel
1
In the Files panel (Window > Files), select checked-out or new file(s).
Note: You can select files in the Local or Remote view, but not the Testing Server view.
2
Do one of the following to check in the file(s):
• Click the Check In button in the Files panel toolbar.
• Right-click (Windows) or Control-click (Macintosh), then select Check In from the context menu.
3
Click Yes to upload dependent files along with the selected files, or click No to refrain from uploading dependent
files. The default is to not upload dependent files. You can set this option at Edit > Preferences > Site.
Note: It’s usually a good idea to upload dependent files when checking in a new file, but if the latest versions of the
dependent files are already on the remote server, there’s no need to upload them again.
A lock symbol appears beside the local file’s icon indicating that the file is now read-only.
Note: If you check in the currently active file, the file may be automatically saved before it’s checked in, depending on
the preference options you’ve set.
Check in an open file from the Document window
1
Make sure the file you want to check in is open in the Document window.
Note: You can check in only one open file at a time.
2
Do one of the following:
• Select Site > Check In.
• Click the File Management icon in the Document window toolbar, then select Check In from the menu.
If the current file is not part of the active site in the Files panel, Dreamweaver attempts to determine which locally
defined site the current file belongs to. If the current file belongs to a site other than the one that’s active in the
Files panel, Dreamweaver opens that site, then performs the check in operation.
Note: If you check in the currently active file, the file may be automatically saved before it’s checked in, depending on
the preference options you’ve set.
Undo a file check-out
If you check out a file, then decide not to edit it (or decide to discard the changes you made), you can undo the check-
out operation and the file returns to its original state.
To undo a file check-out, do one of the following:
• Open the file in the Document window, then select Site > Undo Check Out.
• In the Files panel (Window > Files), right-click (Windows) or Control-click (Macintosh), then select Undo Check
Out.
The local copy of the file becomes read-only, and any changes you’ve made to it are lost.