Site Management and Collaboration > Using Check In/Check Out > Checking in and checking out files on a remote server

 

Checking in and checking out files on a remote server

Use the Site window or the Site menu in the Document window to check in and check out files on a remote server.

If you've checked out a file but have decided not to edit it (or have decided to discard the changes you've made), you can undo a check out, to make the file on the server available to other team members to check out.

Note: If you select Site > Check In or Site > Check Out while the Document window is active, and if the current file is not part of the currently open site, Dreamweaver attempts to determine which of your locally defined sites the current file belongs to; if the current file belongs to only one local site, Dreamweaver opens that site and then performs the check in or check out operation.

To check out files from a remote server:

1 Choose the desired site from the current sites pop-up menu at the top of the Site window.
2 Check out files using one of the following approaches:
Select one or more files and click the Check Out icon at the top of the Site window.
Choose Check Out from the context menu or the Site menu.
3 To download dependent files along with the selected files, click Yes at the prompt. To refrain from downloading dependent files, click No.

To check in files to a remote server:

1 Choose the desired site from the current sites pop-up menu at the top of the Site window.
2 Select one or more checked-out or new files in the Local pane and do one of the following:
Click the Check In icon at the top of the Site window.
Choose Check In from the context menu or the Site menu.
Files checked out by you are marked with a green check mark. If a file has a red check mark next to it, it's currently checked out by another user; don't check in such files.
A lock symbol next to a file indicates that the file is read-only (Windows) or locked (Macintosh).
New files have neither a check mark nor a lock symbol next to them.
3 To upload dependent files along with the selected file, click Yes at the prompt. To refrain from uploading dependent files, click No. 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.

To undo a check out:

Select the file and choose Site > Undo Check Out, or right-click (Windows) or Control-click (Macintosh) the file and choose Undo Check Out from the context menu. The local copy of the file becomes read-only, and any changes you've made to it are lost.

To check in or check out a currently active file:

In the Document window, choose Site > Check In or Site > Check Out, or use the icons found on the toolbar.

If you check out the currently active file, the currently open version of the file is overwritten by the new checked-out version. 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; see Site preferences.