Skip to main content
Last Reviewed: 2022-12-12

Prepare


Prepare the Local Environment

  1. Get a local copy of both your new site (from the external repository) and your existing site codebase.

  2. In the Dev tab of the site's Dashboard, set the Development Mode to Git, and clone the site locally.

  3. Change into the $SITE directory, then create a new branch based on the default:

  4. Use Terminus and Drush to export the latest version of the config files from the production environment to sites/default/files/config:

  5. For rsync, copy the SFTP host information.

  6. Use that host name to rsync from config:export:

  7. If you run git status it should display changed files in the config directory if there are any changed configurations in production.