User Guide Cancel

Manage files and folders

  1. Dreamweaver User Guide
  2. Introduction
    1. Responsive web design basics
    2. What's new in Dreamweaver
    3. Web development using Dreamweaver - An Overview
    4. Dreamweaver / Common Questions
    5. Keyboard shortcuts
    6. Dreamweaver system requirements
    7. Feature summary
  3. Dreamweaver and Creative Cloud
    1. Synchronize Dreamweaver settings with Creative Cloud
    2. Creative Cloud Libraries in Dreamweaver
    3. Using Photoshop files in Dreamweaver
    4. Work with Adobe Animate and Dreamweaver
    5. Extract web-optimized SVG files from Libraries
  4. Dreamweaver workspaces and views
    1. The Dreamweaver workspace
    2. Optimize Dreamweaver workspace for visual development
    3. Search files based on filename or content | Mac OS
  5. Set up sites
    1. About Dreamweaver sites
    2. Set up a local version of your site
    3. Connect to a publishing server
    4. Set up a testing server
    5. Import and export Dreamweaver site settings
    6. Bring existing websites from a remote server to your local site root
    7. Accessibility features in Dreamweaver
    8. Advanced settings
    9. Set site preferences for transferring files
    10. Specify proxy server settings in Dreamweaver
    11. Synchronize Dreamweaver settings with Creative Cloud
    12. Using Git in Dreamweaver
  6. Manage files
    1. Create and open files
    2. Manage files and folders
    3. Getting and putting files to and from your server
    4. Check in and check out files
    5. Synchronize files
    6. Compare files for differences
    7. Cloak files and folders in your Dreamweaver site
    8. Enable Design Notes for Dreamweaver sites
    9. Preventing potential Gatekeeper exploit
  7. Layout and design
    1. Use visual aids for layout
    2. About using CSS to lay out your page
    3. Design responsive websites using Bootstrap
    4. Creating and using media queries in Dreamweaver
    5. Present content with tables
    6. Colors
    7. Responsive design using fluid grid layouts
    8. Extract in Dreamweaver
  8. CSS
    1. Understand Cascading Style Sheets
    2. Laying out pages using CSS Designer
    3. Using CSS preprocessors in Dreamweaver
    4. How to set CSS Style preferences in Dreamweaver
    5. Move CSS rules in Dreamweaver
    6. Convert inline CSS to a CSS rule in Dreamweaver
    7. Work with div tags
    8. Apply gradients to background
    9. Create and edit CSS3 transition effects in Dreamweaver
    10. Format code
  9. Page content and assets
    1. Set page properties
    2. Set CSS heading properties and CSS link properties
    3. Work with text
    4. Find and replace text, tags, and attributes
    5. DOM panel
    6. Edit in Live View
    7. Encoding documents in Dreamweaver
    8. Select and view elements in the Document window
    9. Set text properties in the Property inspector
    10. Spell check a web page
    11. Using horizontal rules in Dreamweaver
    12. Add and modify font combinations in Dreamweaver
    13. Work with assets
    14. Insert and update dates in Dreamweaver
    15. Create and manage favorite assets in Dreamweaver
    16. Insert and edit images in Dreamweaver
    17. Add media objects
    18. Adding videos in Dreamweaver
    19. Insert HTML5 video
    20. Insert SWF files
    21. Add audio effects
    22. Insert HTML5 audio in Dreamweaver
    23. Work with library items
    24. Using Arabic and Hebrew text in Dreamweaver
  10. Linking and navigation
    1. About linking and navigation
    2. Linking
    3. Image maps
    4. Troubleshoot links
  11. jQuery widgets and effects
    1. Use jQuery UI and mobile widgets in Dreamweaver
    2. Use jQuery effects in Dreamweaver
  12. Coding websites
    1. About coding in Dreamweaver
    2. Coding environment in Dreamweaver
    3. Set coding preferences
    4. Customize code coloring
    5. Write and edit code
    6. Code hinting and code completion
    7. Collapse and expand code
    8. Reuse code with snippets
    9. Lint code
    10. Optimize code
    11. Edit code in Design view
    12. Work with head content for pages
    13. Insert server-side includes in Dreamweaver
    14. Using tag libraries in Dreamweaver
    15. Importing custom tags into Dreamweaver
    16. Use JavaScript behaviors (general instructions)
    17. Apply built-in JavaScript behaviors
    18. About XML and XSLT
    19. Perform server-side XSL transformations in Dreamweaver
    20. Performing client-side XSL transformations in Dreamweaver
    21. Add character entities for XSLT in Dreamweaver
    22. Format code
  13. Cross-product workflows
    1. Installing and using extensions to Dreamweaver
    2. In-App updates in Dreamweaver
    3. Insert Microsoft Office documents in Dreamweaver (Windows only)
    4. Working with Fireworks and Dreamweaver
    5. Edit content in Dreamweaver sites using Contribute
    6. Dreamweaver-Business Catalyst integration
    7. Create personalized email campaigns
  14. Templates
    1. About Dreamweaver templates
    2. Recognizing templates and template-based documents
    3. Create a Dreamweaver template
    4. Create editable regions in templates
    5. Create repeating regions and tables in Dreamweaver
    6. Use optional regions in templates
    7. Define editable tag attributes in Dreamweaver
    8. How to create nested templates in Dreamweaver
    9. Edit, update, and delete templates
    10. Export and import xml content in Dreamweaver
    11. Apply or remove a template from an existing document
    12. Edit content in Dreamweaver templates
    13. Syntax rules for template tags in Dreamweaver
    14. Set highlighting preferences for template regions
    15. Benefits of using templates in Dreamweaver
  15. Mobile and multiscreen
    1. Create media queries
    2. Changing page orientation for mobile devices
    3. Create web apps for mobile devices using Dreamweaver
  16. Dynamic sites, pages and web forms
    1. Understand web applications
    2. Set up your computer for application development
    3. Troubleshoot database connections
    4. Removing connection scripts in Dreamweaver
    5. Design dynamic pages
    6. Dynamic content sources overview
    7. Define sources of dynamic content
    8. Add dynamic content to pages
    9. Changing dynamic content in Dreamweaver
    10. Display database records
    11. Provide and troubleshoot live data in Dreamweaver
    12. Add custom server behaviors in Dreamweaver
    13. Building forms using Dreamweaver
    14. Use forms to collect information from users
    15. Create and enable ColdFusion forms in Dreamweaver
    16. Create web forms
    17. Enhanced HTML5 support for form elements
    18. Develop a form using Dreamweaver
  17. Building applications visually
    1. Build master and detail pages in Dreamweaver
    2. Build search and results pages
    3. Build a record insert page
    4. Build an update record page in Dreamweaver
    5. Building record delete pages in Dreamweaver
    6. Use ASP commands to modify database in Dreamweaver
    7. Build a registration page
    8. Build a login page
    9. Build a page that only authorized users can access
    10. Securing folders in Coldfusion using Dreamweaver
    11. Using ColdFusion components in Dreamweaver
  18. Test, preview, and publish websites
    1. Preview pages
    2. Preview Dreamweaver web pages on multiple devices
    3. Test your Dreamweaver site
  19. Troubleshooting
    1. Fixed issues
    2. Known issues

 

 

Learn how to use the Files panel to manage, transfer, and synchronize files and folders between local and remotes sites in Dreamweaver. Also learn how the auto-recovery feature works in Dreamweaver.

The Files panel in Dreamweaver allows you to access and manage files associated with your site. You can toggle between the FTP View and the Git View in Files panel, to manage the files using an FTP server or Git repositories.

To open the Files panel, click Window > Files, or press F8 (on Windows) or Shift-⌘-F (on Mac).

Note:

If you don't set up a site, the Files panel works simply lists all the drives or folders in your system. You can only use it to view files. You cannot transfer files back and forth from a remote system to your local system. 

To learn more about the benefits of setting up a site, and for instructions on how to create a site, see About Dreamweaver sites.

Read on to know how to use the Files panel in each of these views.

Working with the Files panel in the FTP View

You can use the FTP view to view files and folders, check whether they are associated with a Dreamweaver site or not, and perform standard file maintenance operations, such as opening and moving files. The Files panel also helps you manage and transfer files to and from a remote server.

After you set up a site in Dreamweaver, you can use the Files panel in the following ways:

  • Access sites, a server, and local drives
  • View files and folders
  • Manage files and folders in the Files panel
  • Synchronize files and folders between local and remote servers

Read on to learn how to use the Files panel in the FTP View.

Options in the Files panel

At its simplest, the Files panel displays a list of only the local files in your computer. As you work more with the Files panel - setting up a site, setting up connections to remote servers, enabling check in and check out, more options appear in the Files panel.

Here's what the Files panel looks like:

  • When no site is defined in Dreamweaver
  • When a site is defined but a server is not defined
  • When a site is defined, server connections are defined, and check-in and check-out of files is enabled

For information on defining a site and server, see About Dreamweaver sites.

When no site is defined in Dreamweaver

What the Files panel looks like when no site is defined in Dreamweaver
What the Files panel looks like when no site is defined in Dreamweaver

When a site is defined but a server is not defined

When you define a Dreamweaver site, the files within your site are displayed. The Files panel also includes a button - Define servers, which is a prompt to start defining connections to remote and testing servers.

What the Files panel looks like when a site is defined in Dreamweaver but no servers are defined
What the Files panel looks like when a site is defined in Dreamweaver but no servers are defined

When a site is defined and servers are defined and check-in and check-out is enabled

All options on the Files panel are available for you to use after you define a site, and server. If you enable check-in and check-out, these options are also available to use.

Read on to find out more about what you can do with the Files panel.

For information on enabling check-in and check-out, see Check in and check out files.

The Files panel when a site, connections to remote servers, and check-in and check-out is enabled
The Files panel when a site, connections to remote servers, and check-in and check-out is enabled

A. Site pop-up menu B. File view C. Connect to remote server D. Get files from remote server E. Put files to remote server F. Check out files G. Check in files H. Synchronize with remote server I. Expand/collapse J. Refresh K. File Activity 

You can move the Files panel as necessary and set preferences for the panel.

Note:

The Site Files view, Testing Server view, and Synchronize buttons appear only in the expanded Files panel.

Site pop‑up menu

Lets you select a Dreamweaver site and display that site’s files. You can also use the Site menu to access all the files on your local disk, much like Windows Explorer (Windows) or the Finder (Mac).

File view

Lets you view files present in your local site root, remote server, or testing server. Select an option from the pop-up menu to see files in the respective view.

Connect to remote server

(FTP, RDS, and WebDAV protocol) Connects to or disconnects from the remote site. By default, Dreamweaver disconnects from the remote site if it has been idle for more than 30 minutes (FTP only). To change the time limit, select Edit > Preferences (Windows) or Dreamweaver > Preferences (Macintosh), then select Site from the category list on the left.

Get files from remote server

Copies the selected files from the remote site to your local site (overwriting the existing local copy of the file, if any). If Enable File Check In And Check Out is enabled, the local copies are read-only; the files remain available on the remote site for other team members to check out. If Enable File Check In and Check Out is disabled, the file copies have both read and write privileges.

Put files to remote server

Copies the selected files from the local site to the remote site.

Check out files

Transfers a copy of the file from the remote server to your local site (overwriting the existing local copy of the file, if any) and marks the file as checked out on the server. This option is not available if Enable File Check In and Check Out is disabled for the current site.

Check in files

Transfers a copy of the local file to the remote server and makes the file available for editing by others. The local file becomes read-only. This option is not available if Enable File Check In and Check Out is disabled for the current site.

Synchronize with remote server

Synchronizes the files between the local and remote folders.

Expand/Collapse

Expands or collapses the Files panel to display one or two panes. In the Expanded view, an additional option - View site FTP log is also available. When the Files panel is collapsed it displays the contents of the local site, the remote site, or the testing server as a list of files. When expanded, it displays the local site and either the remote site or testing server.

Refresh

Refreshes the local and remote directory lists. Use this button to manually refresh the directory lists if you deselected either Refresh Local File List Automatically or Refresh Remote File List Automatically in the Site Definition dialog box.

File Activity

Displays the background file activity.

The View Site FTP log is available if you expand the Files panel by clicking the Expand/collapse icon.

View Site FTP log

Displays the file structure of the remote and local sites in the panes of the Files panel. (A preference setting determines which site appears in the left pane and which appears in the right pane.) Site Files view is the default view for the Files panel.

Note:

The files Dreamweaver copies are the files you select in the active pane of the Files panel. If the Remote pane is active, the selected remote or testing server files are copied to the local site; if the Local pane is active, Dreamweaver copies the remote or testing server version of the selected local files to the local site.

Note:

The files Dreamweaver copies are the files you select in the active pane of the Files panel. If the Local pane is active, the selected local files are copied to the remote site or testing server; if the Remote pane is active, Dreamweaver copies the local versions of the selected remote server files to the remote site.

If you are putting a file that doesn’t already exist on the remote site, and Enable File Check In and Out is enabled, the file is added to the remote site as “checked out.” Click the Check In Files button if you want to add a file without the checked out status.

View files and folders

You can view files and folders in the Files panel, whether they are associated with a Dreamweaver site or not. When you view sites, files, or folders in the Files panel, you can change the size of the viewing area, and, for Dreamweaver sites, you can expand or collapse the Files panel.

For Dreamweaver sites, you can also customize the Files panel by changing the view—either your local or remote site—that appears by default in the collapsed panel. Or, you can switch the content views in the expanded Files panel using the Always Show option.

Search files in the files panel (Mac OS, Creative Cloud users only)

Use Live Search to locate files based on filename or text present in files. The site selected in the Files panel is used for search. If there is no site selected in the panel, the search option does not appear. For more information, see Search files based on filenames or content.

Change the size of the view area in the expanded Files panel

In the Files panel (Window > Files), with the panel expanded, drag the bar that separates the two views to increase or decrease the view area of the right or left pane.

Change the site view in Files panel (Dreamweaver sites only)

You can use the Files panel to view files present in your local site root, remote server, or testing server.

In the collapsed Files panel (Window > Files), select Local View, Remote Server, or Testing Server from the Site View pop‑up menu.

By default, Local View appears in the Site View menu.

Viewing files on local site root, remote, and testing servers
Viewing files on local site root, remote, and testing servers

View files outside of a Dreamweaver site

Navigate your computer using the Site pop‑up menu, much as you would if you were using Windows Explorer(Windows) or the Finder (Macintosh).

Work with files in the FTP View

You can open or rename files; add, move, or delete files; or refresh the Files panel after you make changes.

For Dreamweaver sites, you can also determine which files (on either the local or remote site) have been updated since the last time they were transferred.

Open a file

  1. In the Files panel (Window > Files), select a site, server, or drive from the pop‑up menu (where the current site, server, or drive appears).
  2. Navigate to the file you want to open.
  3. Do one of the following:
    • Double-click the file’s icon.

    • Right-click (Windows) or Control‑click (Macintosh) the file’s icon, then select Open.

      Dreamweaver opens the file in the Document window.

Create a file or folder

  1. In the Files panel (Window > Files), select a file or folder.

    Dreamweaver creates the new file or folder inside the currently selected folder, or in the same folder as the currently selected file.

  2. Right-click (Windows) or Control‑click (Macintosh), then select New File or New Folder.
  3. Enter a name for the new file or folder.
  4. Press Enter (Windows) or Return (Macintosh).

Delete a file or folder

  1. In the Files panel (Window > Files), select the file or folder you want to delete.
  2. Right-click (Windows) or Control‑click (Macintosh), then select Edit > Delete.

Rename a file or folder

  1. In the Files panel (Window > Files), select the file or folder you want to rename.
  2. Do one of the following to activate the name of the file or folder:
    • Click in the filename, pause, then click again.

    • Right-click (Windows) or Control‑click (Macintosh) the file’s icon, then select Edit > Rename.

  3. Type the new name over the existing name.
  4. Press Enter (Windows) or Return (Macintosh).

Move a file or folder

  1. In the Files panel (Window > Files), select the file or folder you want to move.
  2. Do one of the following:
    • Copy the file or folder, then paste it in a new location.

    • Drag the file or folder to a new location.

  3. Refresh the Files panel to see the file or folder in its new location.

Refresh the Files panel

To refresh the view in the Files panel, do one of the following:

  • Right-click (Windows) or Control‑click (Macintosh) any file or folder, then select Refresh.
  • (Dreamweaver sites only) Click the Refresh button in the Files panel toolbar (this option refreshes both panes).
Note:

Dreamweaver refreshes the Files panel when you make changes in another application, then return to Dreamweaver.

Find files in your Dreamweaver site

Dreamweaver makes it easy to find selected, open, checked out, or recently modified files in your site. You can also find files that are newer in your local or remote site.

Find an open file in your site

  1. Open the file in the Document window.
  2. Select Site > Locate in Site.

    Dreamweaver selects the file in the Files panel.

    Note:

    If the open file in the Document window is not part of the current site in the Files panel, Dreamweaver attempts to determine which of your Dreamweaver sites the file belongs to; if the current file belongs to only one local site, Dreamweaver opens that site in the Files panel, then highlights the file.

Locate and select checked out files in a Dreamweaver site

In the collapsed Files panel (Window > Files), click the Options menu in the upper-right corner of the Files panel, then select Edit > Select Checked Out Files.

Dreamweaver selects the files in the Files panel.

Find a selected file in your local or remote site

  1. Select the file in the Local or Remote view of the Files panel (Window > Files).
  2. Right-click (Windows) or Control‑click (Macintosh), then select Locate in Local Site or Locate in Remote Server (depending on where you selected the file).

    Dreamweaver selects the file in the Files panel.

Locate and select files that are newer in the local site than in the remote site

In the collapsed Files panel (Window > Files), click the Options menu in the upper-right corner of the Files panel, then select Edit > Select Newer Local.

Dreamweaver selects the files in the Files panel.

Locate and select files that are newer in the remote site than in the local site

In the collapsed Files panel (Window > Files), click the Options menu in the upper-right corner of the Files panel, then select Edit > Select Newer Remote.

Dreamweaver selects the files in the Files panel.

Find recently modified files in your site

  1. In the collapsed Files panel (Window > Files), click the Options menu in the upper-right corner of the Files panel, and then select Edit > Select Recently Modified.
  2. Do one of the following to indicate search dates for the report:
    • To report on all files modified in the last several days, select Files Created or Modified in the Last and enter a number in the box.

    • To report on all files modified within a specific time frame, click the Files Created or Modified Between radio button, then specify a date range.

    Finding recently modified files
    Finding recently modified files

  3. (Optional) Enter a user name in the Modified By box to limit your search to files modified by a specific user between the dates you indicated.
    Note:

    This option is only available for reports on Contribute sites.

  4. Select a radio button to indicate where you want to view files listed in the report, if necessary:

    Local Machine

    if the site contains static pages.

    Testing Server

    if the site contains dynamic pages.

    Other Location

    if you want to enter a path in the text box.

    Note:

    This option assumes you defined a Testing Server in the Site Definition dialog box. If you have not defined a Testing Server and entered a URL prefix for that server, or if you are running the report for more than one site, this option is not available.

  5. Click OK to save your settings.

    Dreamweaver highlights the files that were modified within the selected time frame in the Files panel.

Identify and delete unused files

You can identify and delete files that are no longer used by other files in your site.

  1. Select Site > Site Options > Check Links Sitewide.

    Dreamweaver checks all the links in your site and displays the broken ones in the Results panel.

  2. Select Orphaned Files from the menu on the Link Checker panel.
    Viewing orphaned files - files with no incoming links
    Viewing orphaned files - files with no incoming links

    Dreamweaver displays all the files with no incoming links. This means that no files in your site link to these files.

  3. Select the files you want to delete and press Delete.
    Note:

    Although no other file in the site links to these files, some of the listed files may link to other files. Use caution when deleting the files.

Access sites, a server, and localdrives

You can access, modify, and save files and folders in your Dreamweaver sites, as well as files and folders that are not part of a Dreamweaver site. In addition to Dreamweaver sites, you can access a server, a local drive, or your desktop.

Before you can access a remote server, you must set up Dreamweaver to work with that server.

Note:

The best way to manage your files is to create a Dreamweaver site. For information on the benefits of creating a site, and information on how to create a site see About Dreamweaver sites.

Open an existing Dreamweaver site

In the Files panel (Window > Files), select a site from the menu (where the current site, server, or drive appears).
Open an existing Dreamweaver site
Open an existing Dreamweaver site

Open a folder on a remote FTP or RDS server

  1. In the Files panel (Window > Files), select a server name from the menu (where the current site, server, or drive appears).
    Note:

    Server names appear for servers you’ve configured Dreamweaver to work with.

  2. Navigate to and edit files as you normally do.

Access a local drive or your desktop

  1. In the Files panel (Window > Files), select Desktop, Local Disk, or CD Drive from the menu (where the current site, server, or drive appears).
  2. Navigate to a file, then do any of the following:
    • Open files in Dreamweaver or another application
    • Rename files
    • Copy files
    • Delete files
    • Drag files
      • If you drag a file from one Dreamweaver site to another or to a folder that is not part of a Dreamweaver site, Dreamweaver copies the file to the location where you drop it. 
      • If you drag a file within the same Dreamweaver site, Dreamweaver moves the file to the location where you drop it. 
      • If you drag a file that is not part of a Dreamweaver site to a folder that is not part of a Dreamweaver site, Dreamweaver moves the file to the location where you drop it.
    Note:

    To move a file that Dreamweaver copies by default, hold down the Shift key (Windows) or the Command key (Macintosh) while you drag. To copy a file that Dreamweaver moves by default, hold the Control key (Windows) or the Option key (Macintosh) while you drag.

Customize the file and folder details displayed in the Files panel

When you view a Dreamweaver site in the Files panel, by default only the files and folder structure is displayed. However, you can customize the appearance of the Files panel to show the following details:

  • Notes
  • Size
  • Type
  • Date a file was last modified
  • Check out details
To include these columns in your Files panel view, right-click the toolbar and select the options you want to see.
Showing and hiding file and folder details in the Files panel
Showing and hiding file and folder details in the Files panel

You can do some additional column customization using the Manage Sites > Advanced Settings > File View Columns dialog:

Customizing file view columns using the Manage Sites > Advanced Settings > File View Columns dialog
Customizing file view columns using the Manage Sites > Advanced Settings > File View Columns dialog

Change the order of columns

In the Manage Sites > Advanced Settings > File View Columns panel, select a column name, and then click the up or down arrow button to change the position of the selected column.

Note:

You can change the order of any column except Name, which is always the first column.

Add, delete, or change column details

  1. Select Site > Manage Sites.
  2. Select a site, then click Edit.
  3. Expand Advanced Settings and select the File View Columns category.
  4. Select a column and click the Plus (+) button to add a column.

  5. In the Column Name box, enter a name for your column.
    Adding custom columns
    Adding custom columns

  6. Select a value from the Associate with Design Notes menu, or type in your own.
    Note:

    You must associate a new column with a Design Note, so that there is data to display in the Files panel.

  7. Select an alignment to determine how text is aligned within the column.
  8. Select or deselect Show to reveal or hide the column.
  9. Select Share with All Users of This Site to share the column with all users connected to the remote site.

To delete a column, select it and click the Minus (-) button. 

Note:

The column is deleted immediately and without confirmation, so make certain that you want to delete the column before clicking the Minus (–) button.

Sort columns in the Files panel

In the Files panel, click the heading for the column you want to sort.

Note:

Click the heading again to reverse the order (ascending or descending) by which Dreamweaver sorts the column.

Auto-recovery of files

If Dreamweaver shuts down unexpectedly because of system errors, power outages, or other problems, then you can recover any unsaved changes made to files you were working on.

The auto-recovery feature automatically backs up any unsaved files in Dreamweaver. If a crash occurs, the following dialog box is displayed during subsequent launches of Dreamweaver.

Note:

You must have saved your file at least once for Dreamweaver to be able to recover it.

Auto-recovery in Dreamweaver
Auto-recovery in Dreamweaver

When you open a crashed Dreamweaver, you recover or discard last changes to a file:

  • Recover - Select this option to open the auto-saved version of your file
  • Discard - Select this option to open the last saved version of your file
Note:

In Dreamweaver, auto-save happens approximately every five seconds (depending on the operating system).

Working with the Files panel in Git View

The Git view in Files panel allows you to connect with Git repositories, and manage files using Git. The Files panel works as an interface for you to perform various operations like commit, stage, unstage, add to gitignore and so on.

You can use the Git View to perform the following actions:

  • View the files associated with a site, in Git repositories
  • Synchronize files and folders between your local repository and Git
  • View the untracked, staged, and committed files
  • Access the Git terminal

You can also initialize a Git repository from this panel, if it has already not been done. When you create a site in Dreamweaver, you can associate a Git repository with your site. If you have not done this during site creation, you can Initialize a Git repository using the Files panel.

To initialize a repository, click Initialize Git from the Files panel. The files associated with your site are immediately visible in the Git view, along with their status.

Initialize Git repositories from the Files panel
Initialize Git repositories from the Files panel

View the status of files

You can view the status of the files associated with a Git repository, from the Files panel. When you initialize a Git repository, the files are displayed in green. This means that the files are untracked and do not exist in Git yet.

When you commit a file, the file appears in white in the Files panel. This means that the file has been committed in the Git repository that you have chosen. 

Now, when you edit and save a file after commit, the color of the file changes to yellow in the Files panel. This indicates that the files in your local repository and in the Git repository are not in sync.

To learn about the version control workflow in Git, see Using Git for version control.

Create and manage branches

You can create and manage branches locally, using the Files panel. To create a branch, select the drop-down list at the top of the panel. Click Manage Branches, and click the + sign from the Manage Branches dialog box.

You can choose your origin branch and create a new branch. You can also remove a branch and merge one branch with another.

To know more about managing local branches using the Files panel, see Create and manage branches.

Perform basic Git actions

Apart from initializing and managing branches, you can also perform various Git actions from the Files panel. From the files panel, select a file, right-click, and do one of the following:

  • Click Add to .gitignore to  add the selected file or files to the gitignore folder. These files will not be touched by Git, and no actions can be performed on these files.
  • Click Remove from .gitignore to remove a file from the gitignore folder.
  • Click Stage to stage the selected file. Staging is one step behind committing a file in Git.
  • Click Unstage to remove a file from staging.
  • Click Stage All to stage all the files in the repository.
  • Click Unstage All to remove all the files in the repository from staging.
  • Click Diff to view the changes in the file between the previous commit and the current version.
  • Click File History to view the change and commit history of the selected file.
  • Click Revert File to discard all the changes done to the file, and restore the previous committed version.
  • Click Commit All Staged to commit the files that you have staged, from this repository.
Perform Git actions from the Files panel
Perform Git actions from the Files panel

To know more about each of these actions, and about Git in Dreamweaver, read Using Git in Dreamweaver.

 Adobe

Get help faster and easier

New user?